#fireball190_code
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/1412292027302940814
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
I have a very long code since I wanted to include the whole stripe element in an all in one code comopent block.
Hi there ๐ I just want to acknowledge your question. I'm attending to other threads now and will get to yours soon
I was checking the stripe docs for when to unmount and remount the express checkout container, and so I want it to show/occur after the shipping option is selected, so it would have the full total of the payment to create a express checkout element with but I keep running into this - Checkoutttt.js:44 โ Failed to mount Express Checkout: IntegrationError: Can only create one Element of type expressCheckout. I need help with the clean up aspect of it. and just a recommendation on what would be the best process for hiding and showing the final checkout options like express checkout and payment methods after an adress is collected for shipping and the shipping cost.
are you calling .update() on the Element instance you initialized?
For shipping rates or address updates with Express Checkout Element, this is the doc to reference: https://docs.stripe.com/elements/express-checkout-element/accept-a-payment#collect-shipping
thank you, I wasn't I will look into it. thank you for sending me the correct doc when I ask the stripe ai for answers it says unmount and mount. thank you
no worries, yeah I don't think you need to unmount/remount. the Element instance can be updated with the right shipping rates.