#DieserLoki
1 messages · Page 1 of 1 (latest)
Hi there!
I think the best way to answer that question is to actually test this is test mode, and see if it works for the german islands.
I just tried, and what happens is the country is prefilled in this case, but you cans till enter whatever address you want.
Yes, that was my finding as well
The issue is, we want to sell Furniture, and dont really want to ship furniture to those islands, because the shipping cost would explode, therefore we want to exclude this.
Is it possible to exclude some predifined zip-codes or something like that?
Not really. But there are a few workarounds:
- Before creating the Checkout Session, ask for the ZIP code. And then if it matches the zip code of one of these island, don't create the Checkout Session.
- Or place a hold on the card, and then cancel the hold if you see that the zip code is in one of the island https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-capture_method
- Or add some custom fields on the Checkout Session to tell users that it won't be possible if they are on these island https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-custom_fields