add membership subscription to asp.net mvc web app

2019-04-09 18:33发布

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.

1条回答
Luminary・发光体
2楼-- · 2019-04-09 18:56

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
查看更多
登录 后发表回答