#gonsanto_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/1282629203606507551
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
<PaymentElement options={{paymentMethodOrder:[...]}} >
there is no paymentMethodOrder ๐ค
you're probably using an old version of the library that doesn't have the types yet
if you pass it anyway(and maybe use @ts-ignore), does it work at runtime?
hmmmm ok I will check if there is an update and try with just @ts-ignore
thanks for the quick response @lost dew !
also that screenshot is <Elements right?
not <PaymentElement
they are different and they take different options
Oh yes we are using <Elements and not <PaymentElement
whats the difference between <Elements or <PaymentElement ? I cant find any doc about the diff between both
Elements is the wrapper that provides the library to any child components, PaymentElement is the actual visible component
yes just noticed that... sorry it is Monday and early ๐ thank you for all your help... now it is working fine
no worries, it is definitely confusing