#duduzincp
1 messages · Page 1 of 1 (latest)
Hi there
good afternoon Bro
You see this error when you attempt to load the Checkout Session URL?
Yes
When I deploy my application it works correctly it generates the link correctly but after a while it starts to give this and I have to redeploy again
So Checkout Sessions expire after 24 hours
That Checkout Session was created almost 2 days ago so you can't access it anymore
Generally you don't create a Checkout Session until the customer wants to make their purchase.
Can you tell me more about what you are trying to do?
It sounds like you might want to use a Payment Link in your application instead. See: https://stripe.com/docs/payment-links/create
So it may be that as I'm using the new Next.js the fetch is storing the link that was previously generated in the cache I'll take a look
👍
I did some tests and it seems that's it, I was always getting the same link from the cache when I clicked on the button to start the checkout, if the error still persists, I'll contact you thanks for the support