#yuvi00001
1 messages ยท Page 1 of 1 (latest)
like I want to send users two different mails
- if there payment was failed at the time of checkout.
- if they have made a few consecutive payments and their last payment fails
i'm trying to capture these scenarios.
yes, they are for subscriptions
you can look at the billing_reason on the invoice
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I just checked my webhook request body,
billing_reason says ""subscription_cycle" , that is the second case,
For the checkout case will it be different ?
if "subscription_create" comes for the first case then I think this will do it .
Ill just try it.
please don't close the thread for now
sure let me know if you need any more help