#vitorleitao_docs
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/1290594216283734016
đ 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.
- vitorleitao_docs, 3 days ago, 9 messages
hi! for BACS it would be async_payment_failed yes.
Perfect, thanks for confirming
I am wondering if there is a way in test mode to trigger it
because in test mode, it always hits the payment_intent.payment_failed and charge.failed, but never the async one
is this a limitation of the test mode?
I am using the 10-88-00 and 93333335 which is the failure after 3 minutes for debit_not_authorized
Also, for SEPA, would it also be async_payment_failed ?
What I mean is, those 3 minute ones, do not trigger the async_payment_failed, they trigger payment_intent.payment_failed and charge.failed
Let me get a screenshot of the logs
I mean did you actually use Checkout for the test?
if not, naturally there is no checkout.session.async_payment_failed event
Just to confirm, when you say use checkout, do you mean the checkout ui?
I mean using api.stripe.com/v1/checkout/sessions to create a Session object, visiting its url in your browser, filling in the hosted Stripe page there with the test numbers, and submitting the payment
In this case no, we will always use the PaymentIntentService with a PayoutMethod from the mandate
I assume in this scenario then, we should rely on the payment_intent.payment_failed ?
From the question I assume that the async_payment_failed only happens on checkouts where we redirect to the ui then?
Perfect, then that makes a whole lot more sense
So just to confirm one last time, checkout.session.async_payment_failed will only happen if the payment is done via the stripe ui?
yes
Perfect, thanks for confirming @forest siren