#meisei81-wrong-card-info
1 messages · Page 1 of 1 (latest)
and the stripe would send some error information to our service?
or, I find the error code card_declined https://stripe.com/docs/error-codes#card-declined , what operation would make this error code appeared?
Those errors would be returned when trying to confirm the payment with Stripe.js
That depends. There's no guarantee the payment would be declined/fail! It might be that it succeeds, and then is disputed by the cardholder
Now we try to deal with the wrong card information when create a payment intent
We want to know what error code or error message would be sent within the stripe event
What do you mean by 'wrong card information'? Can you be more specific? What is wrong?
such like wrong cvv or card expire
Well it depends on what decline code the bank returns to us: https://stripe.com/docs/declines/codes
these codes would be sent to our service?
Or the stripe would convert it to some codes?
There'd be a decline_code attribute returned with the relevant value. You can try this with our test cards: https://stripe.com/docs/testing#invalid-data