#kencoca

1 messages · Page 1 of 1 (latest)

amber gorgeBOT
#

Hello kencoca, 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.
kencoca, 1 days ago, 6 messages
kencoca, 1 days ago, 12 messages

fringe kestrel
#

Can you share the log that you complete the payment?

winged matrix
#

This is the completed event
eventId: evt_3O3CfDA7L1tXhwE21bNmitjf

fringe kestrel
#

This CheckoutSession, despited being confirmed after your deactivation, but was created before deactivation

#

Deactivate a PaymentLink wouldn't affect the previously generated CheckoutSesison from it, it just prevent to generate more Checkout Sessions after that

winged matrix
#

I have also tried to expire the CheckoutSession but it said that the CheckoutSession still open therefore it throw an exception. Any advise?

fringe kestrel
#

Request id of you expired the Checkout Session?

#

req_xxx

winged matrix
#

Ok, please wait

#

Oh, it was my mistake, I did not read the error message correctly
{
"error": {
"message": "Only Checkout Sessions with a status in ["open"] can be expired. This Checkout Session has a status of complete.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_gbMp7WVJVtXxHi?t=1697718399",
"type": "invalid_request_error"
}
}

#

If so, after I update the CheckoutSession then it will not able to complete the payment on the payment link, am I right?

fringe kestrel
#

The Checkout Session is already paid, so you can't change it anymore (which is also expected)

#

But if it is still open, then you can expire it

#

But PaymentLink deactivation doesn't have anything to do with any CheckoutSession it already generated. You would need to expire every one of those Checkout Session if that's what you want

winged matrix
#

I got your point, thank so much!

#

I want to ask one more thing: How I can get the SessionCheckout from a paymentLink ?

fringe kestrel
amber gorgeBOT