#mzzay

1 messages ยท Page 1 of 1 (latest)

versed crescentBOT
#

Hello! We'll be with you shortly. 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.

  • mzzay, 4 days ago, 11 messages
  • mzzay, 4 days ago, 10 messages
ebon ferry
#

Hi ๐Ÿ‘‹ I'm assuming by "cancel the payment" you're referring to the customer leaving the Checkout Session, but please let me know if you meant something else.

Checkout Sessions are not expected to expire when a Customer leaves them, they can continue to accessed until their expires_at time passes, or an explicit request is made to cancel them:
https://stripe.com/docs/api/checkout/sessions/expire

#

You could add logic to the page you're setting as your return_url so that it triggers a request to expire the session.

pallid walrus
#

Ok I'm going to do that, Thanks for the help !