#jamie_97274
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- jamie_97274, 4 days ago, 11 messages
- jamie_97274, 5 days ago, 27 messages
yep exactly
Before I tried to test this by deleting the cc payment method from the user - which will then fail the payment. But this does not call a payment_intent.failed_payment only a invoice.failed_payment because I suspect there is nothing to take payment from
Any advice @mint turtle ?
so you have two options to test this:
- create a Subscription with a valid test card, like 4242. then change the card of the customer to the one below that will be declined, and wait for the next payment to fail. note that you can use Test Clock to mode time forward so you don't have to wait. (https://stripe.com/docs/billing/testing/test-clocks)
- or simpler: create a subscription with the card I mentioned above, and set a free trial to a few seconds. as soon as the free trial ends, Stripe will try to charge the card, which will fail
Regarding option 1
I can't edit the card details on a payment method, so I need to remove it, add a new one, and change the payment method on the subscription
correct
no, you need to add the card I shared above