#Mahesh Waman-bacs
1 messages ยท Page 1 of 1 (latest)
how I will get FAILURE CODE
If a BACS payment fails, then the reason for the failure is provided in the failure_reason field on the Charge.
https://stripe.com/docs/api/charges/object?lang=dotnet#charge_object-failure_code
https://stripe.com/docs/payments/bacs-debit/accept-a-payment#payment-failures
Hi
How I will get the error code after pay I am redirect to my website using success and cancel ur;
url
You won't, Bacs is a delayed notification payment method, meaning you don't immediately know whether it succeeded.
Bacs Direct Debit is a reusable, delayed notification payment method. This means it takes 3 business days to confirm the success or failure of a payment when a mandate is already in place and 6 business days when a new mandate must be collected.
https://stripe.com/docs/payments/payment-methods/bacs-debit
I am using stripe checkout url after payment pay I will navigate to my portal success page or cancel page
if failure then how I will know about that and how I will catch that information
later on
When working with delayed notification payment methods, you'll want to be listening to webhook events so that you are notified when a payment changes state.
https://stripe.com/docs/payments/payment-methods#payment-notification
This section contains good examples of events to listen to, along with with some alternative approaches if you don't want to work with webhooks:
https://stripe.com/docs/payments/payment-methods#webhooks