#Gautam
1 messages · Page 1 of 1 (latest)
invoice.payment_failed. List of all Subscription events: https://stripe.com/docs/billing/subscriptions/overview#subscription-events
how to reproduce the failed payment .. suppose subscription cycle is for month ..how we should replicate the failed payment in test as card details are already correct ..
and event will come in months .. what is the way to reproduce on dev
instantly
You can use some test cards simulate failed payments, ie. https://stripe.com/docs/testing#declined-payments
My question is suppose we have one subscription with ACH and billing is monthly .. during the developement I want to reproduce the case what will happen when payment failed in next cycle ..this event will come after one month .. but how to simulate now this event .. in existing subscription how to change the incorrect card..
Yes, I suggesting update the Customer with one of the to-be-declined cards above, then use Tests Clocks to accelerate the Subscription into next billing cycle. You should see an invoice.payment_failed event