#rstupek-pmme-country

1 messages · Page 1 of 1 (latest)

north basinBOT
knotty rose
#

HI 👋

Stripe looks at the country associated with the IP address to determine things like if a specific payment method is viable for a purchase.

alpine pendant
#

ok so no need to provide it per the example in the docs

knotty rose
#

Which example are you referring to?

alpine pendant
#

the example sets a country

knotty rose
#

Ah, okay in that case the messaging is intended to notify the customer if they are not in a supported country. Stripe will just non show the Payment Method but it would be up to you to notify the customer of why

alpine pendant
#

not sure I understand... if I don't set the country, stripe will determine their country? or do I need to figure out their country?

knotty rose
#

I'm sorry, I was thinking about the Payment Element. The Method Messaging element does require you to provide the country code to effectively message the end customer

alpine pendant
#

their country code right?

north basinBOT
knotty rose
alpine pendant
#

ok any advice on how I would determine the shoppers country?

knotty rose
alpine pendant
#

it sort of defeats the purpose of rendering it since I'd rather not force a shopper to provide an address simply to display a product with the pay over time messaging?

knotty rose
#

There are services you can use to retrieve the address from the IP of the request

woeful trellis
#

rstupek-pmme-country

alpine pendant
#

ok that makes it a much bigger task