#.abishek

1 messages · Page 1 of 1 (latest)

tulip basinBOT
#

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.

lilac otter
#

Hi 👋 I'm not entirely sure offhand, is that what you're seeing in your testing? Or is that what you're expecting to see but aren't?

near epoch
#

this is what I am expecting to see, we have a cart implementation on our app and we wanted to implement abandoned cart_id as the client reference, since the recovery url provided by Stripe on the webhook is a url doesn't include any other reference, we wanted to see how we can reference our cart when the checkout is completed and process the order on our end

lilac otter
#

I would recommend stepping through that flow in test mode then, and see if you still have the reference ID as you're hoping after completing the payment from the recovery URL.

The default expiration time is 24 hours, but you can drop that down to 30 minutes via expires_at:
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-expires_at

near epoch
#

ok, thank you

#

ok will do, will the new checkout session resend a checkout expired trigger if the customer visits and not checkout?

#

According to the docs, the new session is a copy of the abandoned session, so I am hoping that answers the above question about client_reference_id, but just want to make sure that the behavior of expires_at is also the same

lilac otter
#

I believe that will trigger a checkout.session.expired Event.

near epoch
#

so, the new checkout session will also trigger expired again

lilac otter
#

Oh, you're asking about a second Checkout Session? I'm sorry, I'm really not sure offhand, I haven't personally walked through using this functionality. My suggestion would be to test it in testmode to see exactly how it will behave.

near epoch
#

ok, thank you