#gary_code

1 messages · Page 1 of 1 (latest)

frosty geodeBOT
#

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

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

dim magnet
#

hi there!

#

do you see an error in your browser console when you remove the clientSecret?

faint violet
#

Hi @dim magnet , no nothing related in the console

dim magnet
#

can you console.log these two vlaues? paymentIntent.amount and paymentIntent.currency.toLowerCase()?

faint violet
#

It seems to never get past stripe.elements()

dim magnet
#

well 7.5 doesn't make sense. if you want £7.50 it should be 750

faint violet
#

That was it!

#

If I change the amount value the button displays

#

Thanks for the help @dim magnet