#gilles_api

1 messages ¡ Page 1 of 1 (latest)

lunar swallowBOT
#

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

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

forest jetty
#

hi there!

#

can you share the Checkout Session ID (cs_xxx)?

candid coral
#

cs_live_a1gbNXUUU0hjb0RTSKVxZdYaKeV2MoXHyzz16K27QvSL8g2krmWI5hLtSV

candid coral
#

Wait really?

#

Okay this is awkward

forest jetty
#

how are you doing the redirection to the URL?

forest jetty
#

can you clarify exactly how you get that URL?

candid coral
#

createCheckout() returns the checkout session ID

forest jetty
#

ah, redirectToCheckout has been depreciated, so you shouldn't use it.

candid coral
#

May be a Stripe version mismatch, even though I don't get TypeScript errors?

#

Oh I see 🤔

#

You've got an article to the new way of doing things?

forest jetty
#

You have two options:

  • Send the checkout.url from your backend to your frontend, and then on the frontend update the window.location with the URL
  • Or do a <form action="xxx" method="POST"> on the frontend and the backend can do a redirect to the URL
candid coral
#

All right! Let me try that!

#

Fixed!

#

Thanks so much ❤️

forest jetty
#

awesome!

candid coral
#

Is there an ETA on when we'll be able to migrate old subscriptions?

forest jetty
#

can you share more details? what do you mean by "migrate old subscriptions"?

candid coral
#

I have customers who have subscriptions through Stripe with me as the merchant (of record). I'd like to eventually have all subscriptions through Managed Payments with Stripe/Link as the merchant (of record). At the moment, migrating subscriptions is not possible yet, though I would like to have an ETA if possible.

forest jetty
candid coral
#

Okay! Thanks anyway.

lunar swallowBOT