#pilu.com.ar
1 messages · Page 1 of 1 (latest)
You need to use the test card number from these docs: https://stripe.com/docs/testing#declined-payments
There's one specific for expired cards
We cannot use an expired credential as payment method. It allows us only to add a valid one
What are you trying to test, exactly?
Yes thats the error that card should produce
If you just want to test a failing customer payment, we have a card payment method you can attach to the customer but which will decline when payment is attempted
pm_card_chargeCustomerFail or 4000000000000341
Other decline cards you'll have trouble attaching to the customer because the decline error will interfere with the attachment
This is the problem that we need to sort:
- We have a user with an active subscription (monthly): one month the payment fails because of a credit card issue (no funds, for example)
- The user tries to update the paymentMethod with a new credit card, but we need to make the purchase on this second credit card, not the first one
We need to test the following case:
- Create a monthly subscription
- One month it charges that subscription properly
- Second month it fails because a credit card issue
Test with last credential you've sent to me