#dominik.sfl
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Not sure, let me check
Thanks a lot!
Just to clarify, what I mean is this "Country" Field here in Stripe PaymentElements
Gotcha. I believe you would want to look at the PaymentMethod object
and then look into card.country
https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-country
for SEPA you'd look at sepa_debit.country
https://stripe.com/docs/api/payment_methods/object#payment_method_object-sepa_debit-country
thanks a lot!!
and that gets me what the customer specified
it doesnt retrieve the country according to where Stripe thinks the customer might be according to their IP address, correct?
Sorry, do you mean the Payment Element?
What do you mean? ๐
I mean, card.country gives me that country that the customer specified him or herself during payment (in the payment element), right?
It does NOT give me the country of the customers credit card
where his/her bank might be in
And it does NOT give me the customers location based on his/her IP address etc.
It just gives me, what the customer TELLS me where he/she is
sorry if thats confusing!
I believe the country field tells you what country the payment method belongs.
The country selection on PaymentElement is used/stored under billing details
NP! ๐ Happy to help