#jorgenno_checkout-address-filtering

1 messages ยท Page 1 of 1 (latest)

steady thistleBOT
#

๐Ÿ‘‹ 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/1328422905821794345

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

ornate arrow
#

Hi ๐Ÿ‘‹

Currently we only allow restricting shipping by country not postal code. If you require more granular shipping address filtering, you will need to implement that yourself.

night relic
#

is there any way to do that after the checkout has been made or does that need to be done before creating the checkout?

ornate arrow
#

That doesn't make sense to me. After the Checkout Session has completed, you have collected payment. You could issue a refund but that would not be a good customer experience.

#

I think it makes sense to have your customers enter their postal code to check availability of your service before you ask for payment details

night relic
#

is there any way to do that after the checkoutsession has been made or does that need to be done before creating the checkoutsession?

ornate arrow
#

What you are asking makes no sense to me.

What is the purpose of the Checkout Session? Are you collecting payment from your customers or just saving information?

night relic
#

ok so i have a webstore where you can order bread. we offer home delivery and pickup at the store. But i only deliver to certain zip codes. and this is where the problem is. i dont know how i can mark a field as invallid if it has been filled with a zip number i dont deliver to. if i do this check in the frontend a user can just enter a zipnumber that is valid and then enter an unvalid adress in the checkoutsession. is there a way i can automatically fill the deliveryinformation in the checkoutsession with the information i get from the frontend after i have checked it there?

ornate arrow
#

No, you cannot fill in shipping information when you create the Checkout Session.

night relic
#

so what is a smart way to make sure someone doesnt enter a adress that cant be delivered to

ornate arrow
#

To warn them upfront that you can only deliver to certain postal codes and if they attempt an invalid address they won't get bread

#

There isn't any thing in Stripe you can do

night relic
#

ok thanks

#

lets hope everyone gets their bread

#

๐Ÿ™‚

ornate arrow
#

๐Ÿคž

steady thistleBOT