#tone_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/1483783106149220403
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi Glo, can you help me add shipping rates to Europe on my account?
hey there! can you share a little more context on what you mean by "to Europe"
from our side, the Shipping Rate object just has the currency and fixed amount, and then your integration determines which ones to use by specifying the Shipping Rate ID in the API when you create a Checkout Session
https://docs.stripe.com/payments/during-payment/charge-shipping?dashboard-or-api=api
this way Stripe doesn't decide what rate should apply to the payment - this is controlled on your side
but you specify the amount and currency, and tell us which Shipping Rate options to offer to the customer
I want to apply a specific shipping rate for Europe, so when the customer types in their address it shows $X
I'm not sure how to make that happen
Can you guide me?
I'd like to see an option where you select the country and it lets you charge a specific price for shipping
For more context, I'm sending my customers a direct link to my stripe purchase page
I see. I'm not sure that's actually possible but let me check into it to confirm if it is
ok it turns out this possible, but only when using Checkout in ui_mode=embedded[0] - here's a link to the implementation guide: https://docs.stripe.com/payments/checkout/custom-shipping-options
otherwise, I'm afraid it's not possible to dynamically determine shipping rates based on the address
as a workaround, you could collect the customer's shipping address in your own page before creating the Checkout Session
I'm not really familiar with coding. Is there a step by step way to add this option on the website?
ah I see you're using the no-code option, Payment Links
I'm afraid this isn't possible with that approach
Can the Stripe team implement this option?
I can definitely submit the feedback to our product team, but I can't make any promises about when or if it could be implemented
Thanks Glo!
any time! sorry we couldn't get to the outcome you wanted, but thanks for bringing this up ๐