#Crawl
1 messages · Page 1 of 1 (latest)
Hello! Can you provide more details? Is this an issue that's happening now and you want to fix it, or are you trying to be proactive when building something new?
yes, I'm currently building and when doing a checkout session for a customer id
I can take the same subcription multiple times
And on my customer portal and can see multiple subscription
I dont want user to be able to cumulate the same ongoing subscription multiple time
If you don't want that to happen you would need to build logic on your end that stops creation of the Checkout Session if the Customer is already subscribed.
Is there a no code way ?
I don't think so.
hmmm alright
so best is to it after checkout payment_intent succeed or before to prevent someone to create the subscption ?
Not sure I understand, can you provide more details?
so to prevent a user to buy 2 times
do we cancel the payment after payment_intent succeed ?
or we just prevent the checkout link in the first place
The best approach is to prevent the customer from accessing Checkout in the first place.