#bilal_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/1374281474680950885
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi! Can you also provide me with the link to the docs you are referencing?
To confirm, are you creating ExpressCheckoutElement or using embedded Checkout Session?
I am creating ExpressCheckoutElement.
The request you provided is for Checkout Sessions. The link is for ui_mode: embedded while your checkout session is being created with ui_mode: custom. I would suggest checking on which integration you are attempting.
Regarding shipping address, there is a shipping_address_collection parameter which you can use to collect the relevant details: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-shipping_address_collection
I am attempting custom
That particular line of doc is applicable to custom as well.
I do not think so you have understood problem. I am asking for how to avoid shipping_address_collection while enabling tax for google pay and you are attaching doc for how to use it๐
Apologies!
I tested this on my end.
I am able to create a checkout session with ui_mode: custom , mode: subscription and shipping_address_collection.
The issue with the request you provided was that shipping_options was included in the request.
The shipping address is likely required to calculate the tax amount.
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!