#oliviakristiansen
1 messages · Page 1 of 1 (latest)
Hi 👋 Test Clocks are best for this:
https://stripe.com/docs/billing/testing/test-clocks
They let you create a Subscription in a sandbox where you can advance time. You'll have to start with a valid card on the Customer, advance the time a bit (however far you want to test) and then swap to this card that successfully attaches to customers but fails to process payments:
4000000000000341
https://stripe.com/docs/testing#declined-payments
awesome, thank you!