#HugoRS
1 messages · Page 1 of 1 (latest)
hello! how can I help?
Hey! We discovered a problem with subscribed users when they are paying for the seconds time. We are using customer.subscription.deleted, -||-.created and -||--.updated
What call triggers when a user is paying automatically there second time on a subscription?
you can use invoice.paid and check the billing_reason : https://stripe.com/docs/api/invoices/object#invoice_object-billing_reason if you just want to track if the customer has paid it successfully
you might want to take a look at this document too : https://stripe.com/docs/billing/subscriptions/webhooks#active-subscriptions
Yes I checked out invoice.paid, is this using the same raw data as the other i'm using?
Because we change our database depending on this
Or will i listnen for the invoice paid in another webhook
it's a different object type than customer.subscription.* events if that's what you're asking