#Valentin-country
1 messages · Page 1 of 1 (latest)
Hi! I guess this depends in your integration. But on the payment method object you can check the billing_details.address.country property https://stripe.com/docs/api/payment_methods/object#payment_method_object-billing_details-address-country
It's null in both the transactions I have
I can't see anything else on the charge object I can use to determine origin
And how are you integrating Stripe? With Checkout, PaymentIntent, something else?
Just recently switched to Payment Element
Also have a separate checkout flow
but this particular example is from Payment Element
Can you share the payment method object (pm_xxx) where the country is missing, just so I can check something?
sure - pm_1KjLn3GPobLlhSMZDUBROAEz
Thanks! I confirm there's no country here. However note that iDEAL seems to only work for customers in the Netherlands, as mentioned here https://stripe.com/docs/payments/ideal
But if you need the country for all payment method, then that's something that you'll have to collect on your own.
Right, thanks for that
So how would this work with Stripe tax then? Surely Stripe has a way of collecting the user location for that purpose?
(I don't use Stripe tax but I am just asking)
To use Stripe automatic Tax, some customer location is required as mentioned here: https://stripe.com/docs/tax/customer-locations
I see, thanks for that