#zach_code
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/1335915267410362400
π 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.
Both above threads are the same question, but they were locked due to inactivity
Sure. My quick summary:
I've already collected the billing address, created a customer with that address, and create a Checkout Session with that customer. When confirming using stripe js, I'm using updateBillingAddress with the billing address from the server.
However, since billing address can be set using stripe js client side, I don't know how I can enforce that a user cannot confirm the payment with a "Bad country". I would like to either restrict the allowed billing countries, or perform a final check on the server.
unfortunately for the time being, this is not supported.
but I think we might add support for that in the future
Alright, thanks for checking π
So just to be clear: It is not possible to set billing address on the server side, even when my user provided it previously? I need to set it client-side using Stripe js?
@haughty falcon I will send you a DM with a link to create a case with my team directly, please provide as much information as possible and someone will get back to you asap
Hello @haughty falcon, we have sent you a direct message, please check it at https://discord.com/channels/@me/1335920046043828306
- πThe message has instructions on how to open a direct support case with our Developer Support team, in order to help you more effectively.
Sound good, thanks for the help