#Proteus

1 messages · Page 1 of 1 (latest)

hardy pantherBOT
high frigate
#

Hello @molten vigil !

molten vigil
#

Hi, where exactly are you referring to?

high frigate
#

This is exactly all the code from the quickstart guide.

dull notch
#

it sounds like you're referring to the country dropdown list?

high frigate
#

Yes, that is correct.

dull notch
#

it's not possible to edit/change the list of countries in the dropdown list if that's what you're asking

high frigate
#

Wow. Ok. But I only accept orders from the US and Canada, in this case ...

#

Any work arounds?

dull notch
#

that's just where the customer's billing country is, they can have a different billing country from their shipping address

high frigate
#

Ok.

#

What about the email and postal code fields. I will have that data from a billing info page. Is there any way to auto populate this data? (as in I already have the email address and postal/zip code, and do not wish the customer to have to enter it again).

high frigate
#

👍 Thank you.

dull notch
#

keep in mind that those fields will only be displayed if the PaymentMethod requires them

high frigate
#

Will do.

#

One more thing ...

#

Every time someone goes to this checkout page, an incomplete payment shows up in my dashboard. Is this normal? I mean, the form attempts to process a payment before the Pay button is clicked -- seems it is being ran upon loading.

#

Again, this is copied and pasted code from the quickstart guide.

dull notch
#

the Payment Element requires either a SetupIntent or a PaymentIntent to initialize. Since you're following the quickstart guide, when that page loads, it's making a request to the server to create and retrieve a PaymentIntent, that's why you always see an incomplete payment