#Rahul_22
1 messages ยท Page 1 of 1 (latest)
Hi Toby
Hi there ๐ if you check for events in your dashboard, are you seeing any payment_intent.succeeded events in livemode?
https://dashboard.stripe.com/events
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Nope ther is no event for payment_intent.succeeded and we are unable to figure out why
As the same is working fine for test env
Live vs test webhooks after user makes a payment
Also can you tell me which webhook I should capture for subscription purchased and auto renewal
Do you have the ID of a successful payment in live mode that you didn't get this event for?
(``pi_123`)
Let me check
I have got this list of events for a user
whose payment was done but webhook was not fired
So those events are in your logs but you didn't get any of them?
Or are you still talking about payment_intent.succeeded events specifically? Those events are for a $0 invoice, so there is no payment intent, and it is expected to not see a payment_intent.succeeded here.
If you aren't seeing those other events, can you send me one of their IDs so I can take a closer look at why you didn't receive it?
OK since the paymemt is $0 so the paymentIntent is not generated
can you tell me which webhook I should capture for subscription purchased and auto renewal
Those top two events in your screenshot, checkout.session.completed and the one that shows up as "______ subscribed to price_1234....." , will be good for capturing when a subscription has started. You can use either of those.
For renewals, we typically recommend listening to invoice.paid , when you get that you can check the billing_reason, it will be subscription_cycle when the invoice is from the subscription renewing https://stripe.com/docs/api/invoices/object?lang=python#invoice_object-billing_reason
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.