#bmizerany
1 messages · Page 1 of 1 (latest)
Yes! This can be done with subscription_data.metadata in Checkout Session Create API: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-subscription_data-metadata
Wonderful, thank you!
If I may, is there a way to prevent Checkout from creating a new subscription if one already existS?
I'm afraid this is not possible. This can only be handled in your system
No problem! Happy to help 😄
Are there recommended ways to handle the duplicate subscription problem?
Before you create a subscription, you likely have a customer identifier such as email or your own customer ID in your system or Stripe customer ID. When the customer attempts to subscribe, you can check whether the user has subscribed before against one of those identifiers