#mink4501_webhooks
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/1224910660186411039
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- mink4501_api, 10 hours ago, 12 messages
There won't be a checkout.session.completed event for failed payments in a checkout page. So you should listen to payment_intent.failed event, and call this API https://docs.stripe.com/api/checkout/sessions/list#list_checkout_sessions-payment_intent to find the checout session associated with this payment_intent, and retrieve it client_reference_id
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
It doesn't seem like the right direction - going around N Arrays is not an engineering good structure.
When a card payment fails inside a Checkout Session, is there any error code in the URL on failure? Or how can we set it up to redirect on error?
I want to show a specific guidance page to my customers when a card payment fails.
No there won't be any redirects for payment failures that happen inside a checkout page.
Hi
Is it possible to add specific text within the payment window?
I can't see adding text on the image screen I uploaded.
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-custom_text yes you can add some custom text
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Good!
By any chance, is it not possible to add this from the Stripe Console Page?
No, you need to do it through API
Oh i see. Thank you so much