#konseqwential-react-card-element
1 messages · Page 1 of 1 (latest)
Hi there! Which card number specifically are you entering that isn't getting declined?
And can you provide a PaymentIntent ID using that card number?
I would say pretty much all the test card numbers in the docs do not get declined. I am doing this in a test environment and making a call to stripe.createToken after i gather the card information through a form UI
Some specific examples I tried are 4000000000009995 4000000000009987
Ah okay so thanks for the info. When you create a token that doesn't trigger an authorization with the bank so the card won't get declined.
These test cards are based on a fake "issuer response"
This only happens when you attach a token to a customer or when you attempt to charge the token
Interesting, would that be true for examples that use the PaymentElement as opposed to CardElements? Because I do see the card get declined for this example in the stripe docs https://stripe.com/docs/payments/quickstart only difference however between this UI example here (see preview in link) and what I have in my test environment is that it uses the PaymentElement whilst mine uses CardElement.
Yes with PaymentElement you are charging the card
Or you are using a SetupIntent
Which also triggers a bank authorization
That makes a lot of sense. I guess that leads to ask, at what point in the flow does a bank authorization occurs when using CardElements or the ChargesAPI?