#nick-checkout-async
1 messages · Page 1 of 1 (latest)
Hey! Yep, with async payment methods (like banking debits) we recommend not relying on checkout.session.completed but instead checkout.session.async_payment_succeeded: https://stripe.com/docs/api/events/types#event_types-checkout.session.async_payment_succeeded
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ah okay thanks👍 so can I still use checkout and then in the webhook check the payment method and if its not a credit card ignore and wait for the async payment event webhook?
I think you can check the payment_status on the checkout.session.completed event: https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-payment_status
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
My guess is it'll be unpaid for the async payment methods
Then you'd await the subsequent succeeded/failed event
Appreciate the quick help
np!
Your solution works reliably just tested it 👍
Perfect!