#niceone
1 messages · Page 1 of 1 (latest)
Not exactly, but you could probably try: 4000002760003184
The card always requires 3DS/auth so your customer can auth the initial payment as they'll be on-session but subsequent payments will fail as they'll be off-session and require auth
yes but I don't want 3d secure
or taking it from other side, I would like to now what exectly will be returned by Stripe in CardException for the card that's not valid
for 3d secure I know that it is: subscription_payment_intent_requires_action
but want to now for other cases
Then there's no one card to do that. You'd need to update the PM for the Subscription to a card that will fail after the initial payment
and which card I can use for that update?
There's a whole selection depending on what decline code you want: https://stripe.com/docs/testing#declined-payments
hm strange, I saw that you are returning subscription_payment_intent_requires_action but I don't see it in documentation
Returning where?
(not sure if it is returned as code or decline code)
you are returning it in CardException
I assume if there is CardException with :subscription_payment_intent_requires_action it means 3d secure authentication is needed, but not sure if it's right assumption?
Hmm, yeah its not listed here: https://stripe.com/docs/error-codes
Yes, requires_action means 3DS/auth is required: https://stripe.com/docs/payments/paymentintents/lifecycle