#nobodylovesm3-testing
1 messages · Page 1 of 1 (latest)
you can add the 4000000000000341 card from https://stripe.com/docs/testing#cards-responses to a customer to simulate failures like that
and yeah unfortunately it's mostly impossible to test that whole subscription recovery part without waiting multiple days.
because i'd like to see what happens when the customer cancels his susbcription and has an invalid card (for the invoice that's generated in 1 hour) or is there an option to make the invoice immediately instead of in 1 hour
you can directly pay the invoice with https://stripe.com/docs/api/invoices/pay to avoid waiting the hour