I would like to add membership subscription to an asp.net mvc web site. I would prefer to use an existing library to incorporate membership and subscription functionality. I searched and could not find any libraries or nuget modules.
I would like to use the Braintree framework to create and manage the subscription and the payments, but I found no integration examples.
I work at Braintree. If you have more questions, you can always reach out to our support team.
Braintree has extensive integration examples, and specifically has a guide on implementing recurring billing:
Say you want to start a subscription service that offers a 1 month free trial and then charges $9.99 per month indefinitely (until the Customer chooses to cancel).
Here's how we will do that:
- Create a Plan
- Create a Customer with a stored payment method
- Subscribe the Customer to the Plan
- Confirm the Customer subscription