#jct

1 messages ยท Page 1 of 1 (latest)

charred grottoBOT
feral orbit
#

Hello ๐Ÿ‘‹
What's the usecase here exactly?

If you already have the billing address stored on the PaymentMethod attached to a customer then yes you can establish country and region from that. However, not sure what the usecase is here

upper owl
#

HI!

#

I create customers via API and set their billing address (country, city, street, etc) then when users try to purchase a subscription I create the payment via API, but I want the country/region to be set automatically with the one you have defined in your account

feral orbit
#

Ah I see. I don't think that's something you can prefill unfortunately.

upper owl
#

Is attached to payment method?

feral orbit
#

As far as I know, country is pre-populated by Checkout using geolocation

upper owl
#

ok thanks

feral orbit
#

NP! ๐Ÿ™‚ Happy to help