#fobor10362-events
1 messages · Page 1 of 1 (latest)
There is charge.dispute.created for disputes:
https://stripe.com/docs/api/events/types#event_types-charge.dispute.created
When you're talking about failed payments, is this for a Subscription scenario?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
yes subscription scenario
Then you can listen to an event like invoice.payment_failed for those failed payments. Can you clarify what you mean when you say "someone trials"?
they are a paying customer and i give them a trial as if it is a pause
So you're adding a trial to the subscription? If so, you can just update your database then rather than relying on a webhook. If you would rather use events then you'll need to listen to customer.subscription.updated and look for events where the subscription went into a trialing status.