#mattcomroe_api
1 messages · Page 1 of 1 (latest)
đź‘‹ Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đź”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1400116985534087249
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- mattcomroe_api, 4 days ago, 29 messages
Hello
setup mode does not support prefilling fields.. See: https://docs.stripe.com/payments/existing-customers?platform=web&ui=stripe-hosted#prefill-payment-fields
If all the following conditions are true, Checkout prefills the email, name, card, and billing address fields on the payment page using details from the Customer’s saved card:
- Checkout is in payment or subscription mode; setup mode doesn’t support pre-filling fields.
ah! straightforward answer! But the Country dropdown still gets pre-selected?
I think we select that based on the user's geolocation (could be misremembering but 99% sure that's correct)
that does sound familiar, but in this particular case i'm not doing any sort of VPN tricks to set location; this is all US-based testing that I'm doing. I believe setting that existing customer's billing address to include CA as the country is what's doing that? Not sure where else it could be coming from.
(also, hello and good morning/afternoon/evening and thank you for your help today
!)
Gotcha, easiest way to verify this would be to create a new customer with some random country and passing it's info to Checkout Session to see how it behaves 🙂
Good morning/afternoon/evening to you as well!
makes sense! I will try that and also thank you for that link to the documentation. i think that's the only question i had for now.. thanks again for your help and have a great rest of your day!