#justincarcerated_justin-react-elements-link
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/1266065968686170192
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi ๐
What elements are you using?
Hi there! We're using the react-stripe-js payment elements
Looking at the code snippet, it looks like you are passing the defaultValues.Billing Details to the <Elements> object
Have you tried passing those options to the <PaymentElement>?
We're only using the <Elements> object, is it recommended to use <PaymentElement> instead?
I'm a little confused. Are you able to render anything? We show you how to use both in our canonical integration doc here: https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements&client=react#add-and-configure-the-elements-provider-to-your-payment-page
Oh my mistake, that worked, thanks so much!
Great ๐ I'm happy it was an easy fix ๐