#Proteus
1 messages · Page 1 of 1 (latest)
Hello @molten vigil !
Hi, where exactly are you referring to?
I have a temp working directory here: https://www.bugoutsurvivalgear.com/stripe/checkout.html
A demo of a payment on Stripe
This is exactly all the code from the quickstart guide.
it sounds like you're referring to the country dropdown list?
Yes, that is correct.
it's not possible to edit/change the list of countries in the dropdown list if that's what you're asking
Wow. Ok. But I only accept orders from the US and Canada, in this case ...
Any work arounds?
that's just where the customer's billing country is, they can have a different billing country from their shipping address
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).
👍 Thank you.
keep in mind that those fields will only be displayed if the PaymentMethod requires them
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.
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