#Crawl

1 messages · Page 1 of 1 (latest)

prisma hornetBOT
finite maple
#

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?

gentle junco
#

yes, I'm currently building and when doing a checkout session for a customer id

gentle junco
#

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

finite maple
#

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.

gentle junco
#

Is there a no code way ?

finite maple
#

I don't think so.

gentle junco
#

so best is to it after checkout payment_intent succeed or before to prevent someone to create the subscption ?

finite maple
#

Not sure I understand, can you provide more details?

gentle junco
#

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

finite maple
#

The best approach is to prevent the customer from accessing Checkout in the first place.