#deetoo_code

1 messages ¡ Page 1 of 1 (latest)

tardy lindenBOT
#

👋 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/1220482334927749300

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

tame thistleBOT
#

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.

alpine creek
#

Hi there! Just making sure I understand your question. Can you clarify what you mean by "it just lets them pass"?

fresh totem
#

hi!

#

in the sign up flow, users can click "free trial" to start a subscription, but if they close their browser and reopen, it returns them to the embedded checkout page again

#

if they were to click start trial again, I'd like them to just pass instead of making a new checkout session for a new customer

#

sorry i think the code cut off because its too long

alpine creek
#

if they were to click start trial again
Is this a button within your app?

fresh totem
#

its part of the embedded checkout form for free trials

#

sorry i didnt explain it clearly, I meant if a new checkout session is created for an existing customer, can they move on to the success page without creating a new customer/trial?

alpine creek
fresh totem
#

thank you! but for my implementation, the customer portal shouldnt be accessed unless the user is logged in. which comes after the checkout process :(

alpine creek
#

I see. You may want to rearchitect this as it sounds like you want to know earlier in the process if a customer has an active subscription, so you'll need to pull up customer details before then