Search code examples
asp.net-mvcpaypal-subscriptionsbraintree

add membership subscription to asp.net mvc web application


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.


Solution

  • 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:

    1. Create a Plan
    2. Create a Customer with a stored payment method
    3. Subscribe the Customer to the Plan
    4. Confirm the Customer subscription