#phant

1 messages · Page 1 of 1 (latest)

pulsar hingeBOT
#

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.

  • phant, 5 days ago, 80 messages
  • phant, 6 days ago, 13 messages
hollow jacinth
#

How do you integrate subscription with Stripe currently? Direct Subscription API or Checkout Session?

quasi viper
#

checkout session

hollow jacinth
quasi viper
#

so if previous subscription is cancelled, will it allow a new subscription?

hollow jacinth
#

Yes! Customer will be able to create a new subscription if the previous subscription is cancelled

quasi viper
#

and not create a new subscription if payment fails?

hollow jacinth
#

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.

quasi viper
#

and how can i do it from Subscription API ?

#

limiting one

hollow jacinth
#

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

quasi viper
#

how do i do that?

hollow jacinth
#

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

quasi viper
#

got it thanks!