#castle
1 messages · Page 1 of 1 (latest)
I see how we can get the address values if we attach an address element to the payment method, but is there a way to get the country from just the default payment element?
Currently there's no way to get the country just from the PaymentElement - best way to do this right now would be to create the PaymentMethod first (https://stripe.com/docs/js/payment_methods/create_payment_method) and then check billing_details[country]
The full docs on how to do this are here https://stripe.com/docs/payments/build-a-two-step-confirmation