#arti-villa_error
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/1341404666126401626
📝 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.
- arti-villa_api, 1 day ago, 36 messages
- arti-villa_api, 1 day ago, 7 messages
Hi there!
Can you share the ID (req_xxx) of the failing API request?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
there isnt' any request to the server, its client side. llms are saying I need to 'Use a separate tax estimation endpoint before calling confirm'
Can you share what guide are you following exactly ?
Thanks. And for what purposes you are implementing Address Element ?
shipping information
You should use your own UIs
what do you mean?
Address Element is part of the Elements familiy and can't be used with Checkout
You need to implement your own UIs to collect the shipping information
It says I can based on the error.
You need to unmount the AddressElement before calling confirm()
Yeah I'm going to look into fetching the tax information via an endpoint and can then just not updateShippingAddress(). it might work ¯_(ツ)_/¯
Ensure the Address Element is not mounted before by the time you call confirm()
I see. So basically have a 2 step process so hitting next step removes it.
It's a lot of work to redesign the entire form to match stripe payment form
I understand yeah. Happy to help if you have any additional issue.
So I hit updateAddress and hide the address form and can then proceed is my take
You need to unmount not just hide:
https://docs.stripe.com/js/element/other_methods/unmount
yeah I understand. it just causes ux issues the way the form is layed out so need to revise or as you stated make my own form. which defeats the point of using stripe. but i guess this is a beta feature.