#jonthecoder_unexpected
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/1222185252060008651
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi ๐ I'm not sure offhand if this is known behavior. Are you able to reproduce this in testmode?
I just checked my config, strangely for me, i dont have a country code in my auto complete and it autofills fine, so I can't reproduce it personally, but my client was able to reproduce it (with the screenshot above) after a customer called and said they couldn't complete a session because it was saying phone was invalid. I was hoping it was a weird one-off issue, but he tried again this morning and said it's still doing it
he's using Chrome on Mac, where as I'm Chrome on PC, so maybe some subtlety in the builds is causing the issue
Hm, I'm trying to spot exactly what phone number field on a Checkout Session you're referring to. Is this the one that is presented when you using phone_number_collection?
I think that's what it is based on placement, but a bit hard to tell. In my testing I'm able to click on the flag to change the country that is used to check the provided phone number is in the correct format, are you able to do the same?
What I suspect is happening, is we're autodetecting what we think is the best country based on the IP being used to access the checkout session, that doesn't align with the country the phone number that is being autofilled is from, which causes our phone number validation to think the format of the number is incorrect. Please let me know if it seems I'm misunderstanding as I'm trying to piece together the flow you're describing.
There I think the best action is to have the customer adjust the country of the phone number, by clicking on the flag in that field and selecting the desired country.
Let me see if my client is using a VPN