#aby_paymentelement-currency

1 messages ¡ Page 1 of 1 (latest)

autumn yachtBOT
#

👋 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/1232024073710604442

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

main skiffBOT
#

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.

undone heath
#

aby_paymentelement-currency

#

@obtuse anvil you can't modify the PaymentElement UI as it's an iframe. But you can add your own button before/after the form for example

obtuse anvil
#

Yes, I understand, I just wanted to double check that because depending on what option the end customer wants to select, the amount of the payment will be different.

undone heath
#

yes but in that case your code updates the amount/currency on the PaymentIntent

obtuse anvil
#

So basically we would need to collect that amount beforehand and then passing the right amount to the PaymentIntent

#

Exactly

#

Once again, thank you for your help. It's great having you for guiding us!

undone heath
#

you can update the amount as you go based on their decision/option!

obtuse anvil
#

Yes, but that is something to be handled on our code

undone heath
#

correct

obtuse anvil
#

Completely understood.

#

Thank you very much!