#piercy
1 messages · Page 1 of 1 (latest)
Hello! Is the scenario you're trying to test where no payment is required initially?
No there is initial payments. I am trying to simulate a recurring sub that fails on say the second payment.
So, lets say its 1000 per month. First month, it succeeds, no problem. Second month, it fails with an invoice.payment_failed event. Trying to trigger that second event without having to wait the time
You would need to switch the Customer's Payment Method to one that declines: https://stripe.com/docs/testing#declined-payments
You can use test clocks to advance time in test mode so you don't have to wait: https://stripe.com/docs/billing/testing/test-clocks