#Omri-bacs-webhooks
1 messages ยท Page 1 of 1 (latest)
Hi ๐ there are some events mentioned here that you'll probably want to listen to in order to stay aware of the status of associated Mandates:
https://stripe.com/docs/payments/payment-methods/bacs-debit#mandate-events
And since Bacs Debit is a delayed notification payment method, you'll probably also want to listen the events mentioned here so you track the status of the payment:
https://stripe.com/docs/payments/payment-methods#webhooks
I listened the https://stripe.com/docs/payments/payment-methods#webhooks for one time pay... I have to listen to them with subscription also? I not need to listen to invoice.paid and invoice.payment_failed in subscription?
The events that you want to listen for is going to be dependent on what you want to be notified about.
Is there something specific that you want to be made aware of, or something that is crucial to your downstream business processes?
Additionally, Invoices will still use Payment Intents to handle their payment. So you have choices in the type of events that you listen for, but if you're already listening to those payment_intent events then you're going to receive those events for Subscriptions/Invoices as well.
I using multi types of payments
I want to know how the handle the webhooks..
I using : one time pay with card, subscription with card, one time pay with bacs_debit, subscription with bacs_debit
I need to know when the user charged/ failed to charged with the subscriptions and one time pay with bacs_debit
The payment intent events that you are listening for will be generated for all of the scenarios that you mentioned.
thank you
Happy to help!
If you're ever unsure about what events are generated by a flow, you can walk through that flow in testmode and then review the events that the system generated to see if any are beneficial to your needs.
yes this is what I'm doing, but the payment are move to canceled and invoice to paid with subscription
sub_1LVbeGKqSkWKDAjf8k2CkZN0 status = active
in_1LVbeGKqSkWKDAjfubJy9wnx status = paid
pi_3LVbeHKqSkWKDAjf2Nmtrtn1 status=canceled
and the payment_intent.succeeded not trigger
When the request was made to pay that Invoice, it used the paid_out_of_band parameter with a value of true. This indicates to us that you accepted the payment outside of Stripe, and are marking the Invoice as paid without wanting us to process a payment for it.
https://dashboard.stripe.com/test/logs/req_qgPICN2NL5TCxh
https://stripe.com/docs/api/invoices/pay#pay_invoice-paid_out_of_band
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.