#Mahesh Waman-Subscription-Bacs
1 messages · Page 1 of 1 (latest)
Hi there, give me some mins to catchup
okay
What do you mean by can not find detail? Do you have a Subscription Id?
yes I have but I want to get detail in webhook
like when I doing payment using bacs, so I can get detail in async.paymentsuccessed
Did you listen to payment_intent.succeed?
method if failed then in failed event
no
but in test mode not getting payment intent code
When you setup your webhook endpoint, just include the payment_intent.succeed event type
Once the Subscription is renewed, it will generate an Invoice, then a PaymentIntent. If the PaymentIntent is attempted and succeed you would receive a payment_intent.succeed event
and for failed and pending then which event I can get
payment_intent.payment_failed
payment_intent.processing
I suggest taking a look at events around here and listen to all of PaymentIntent related events: https://stripe.com/docs/api/events/types#event_types-payment_intent.processing
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.