#eskimo - Client Refrerence
1 messages ยท Page 1 of 1 (latest)
No, that's what i'm trying to get
When a payment fails, it has no reference to the checkout session
So unless the payment eventually succeeds, or I wait 24 hours for the checkout to expire, I have no way of attaching it to the persons contact in my crm
Can you share a request or event ID for the failed payment?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
I'm not following?
This isn't an issue with a specific payment
So look
Customer fills out form, goes to stripe checkout, pays, checkout.completed happens, so the webhook goes to my server and tells me who it was and now i attach the stripe customer id to my contact in my crm
If the payment fails, there's nothing that references the checkout session, so i can't get the client_reference_id i added, so i can't attach it on my end via a webhook
Nvm i think i found a way https://stripe.com/docs/api/checkout/sessions/list?lang=php
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Can get the session by the payment intent