#se-paymentmethod-card-country
1 messages · Page 1 of 1 (latest)
this field should be auto set by Stripe based on the card number, it should return the the country as string, do you see different behaviour?
yeah it is returning null for some cards
although this is using a test card number on our non-prod environment
will we ALWAYS get a non-null value for this in production using real cards?
I need to check, do you have a sample payment_method id?
hmm interesting, where do you get the testing card number from?
O I see. You are getting that number from Stripe doc?
no its from somewhere else
i am wondering if we will see this behaviour in our production account too
i can provide the PAN if you like?
no its from somewhere else; do you mind share where does that come from? by right it should fail if it is not a Stripe testing card number
Collection of Test Credit Cards for testing different scenarios and countries.
6362970000457013
interesting, I am surprise it actually worked!
Yeah, it might be a weird bug in test mode; in actual testing, your card will be treated as a live card and should be declined in test mode.. but it works for some reason
I think this is just a testing card issue, you should use Stripe provided testing card here https://stripe.com/docs/testing
just wanting to confirm though that in production ,all cards will return a countryCode?
yes, it should
cool thank you