#brittkim_checkout-subs

1 messages ¡ Page 1 of 1 (latest)

cedar coyoteBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1234978916079370281

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

next knot
#

If you're offering subcsriptions then we do offer the ability to automatically check if an email already has an active subscription (see https://docs.stripe.com/payments/checkout/limit-subscriptions). If that doesn't fit your needs then your best option is to add this validation logic on your end where you're checking your own databases or querying Stripe to see if this customer/email already has a subscription before redirecting to checkout

red heath
#

Thanks! I actually did read that. Though it wasn't clear if you are limited by email address or customerId

#

If the limit is by customerId, that likely won't help. Since we don't have the customerId during the checkout session, we are worried it will just create a new customerId and continue.

next knot
#

It should also be limited by email address

red heath
#

interesting

#

We can do some testing on our end to verify. How sure are you about it being email address? ha

next knot
#

I'm pretty certain - just tested it on my own account with a Checkout Session created w/ customer_email and I see it working

red heath
#

you are the best. thanks!~