#phant
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
How do you integrate subscription with Stripe currently? Direct Subscription API or Checkout Session?
checkout session
In https://dashboard.stripe.com/settings/checkout, you can limit customer to 1 subscription
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
so if previous subscription is cancelled, will it allow a new subscription?
Yes! Customer will be able to create a new subscription if the previous subscription is cancelled
and not create a new subscription if payment fails?
A new subscription will be created if the payment fails. However, if the customer didn't complete the first payment before Checkout Session expires, the subscription will be expired and canceled.
This has be implemented by your own system, i.e. your system will check whether customer has an existing active subscription and block creating one if there is any
how do i do that?
When you create a subscription, your system should have save the subscription into your database. When user attempts to create new subscription with your system, you'd need to check if any subscription exists on this customer. If there is, no subscription should be created with Stripe via Subscription API
got it thanks!