#jaime-la-gym_best-practices
1 messages · Page 1 of 1 (latest)
👋 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/1364957809271246961
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
You can't -- the max is 24h. Can you explain more about your use case so I can help with some possible alternative approaches?
Hello m'y client wants to make like a case where if that first payment fail automate a process to send the link to pay the due money otherwise the order is canccelled after 48h so hé want a link that's usable for that timer
I also told him that's 24h max but he sais there is a way to refresh link somehow
That's sort of accurate, take a look here: https://docs.stripe.com/payments/checkout/abandoned-carts?payment-ui=stripe-hosted
Some important clarifications:
1/ This is a separate/new session, not an extension of the same session
2/ You need to have customer consent to email them about the abandoned session
An alternative is tracking the "cart" or "order" in your own systems, and emailing a link that points at a page you control. If a customer visits that without whatever time limit you decide, you then dynamically generate a Checkout session and redirect them to it for payment.
That lets you control an arbitrarily long "expiry" according to your own business rules, and you're only using the Checkout sessions as a short-lived payment portal
More work 🥲
That's true
Ty for your anwsers i will communicante what u told me
NP!