#yanqing_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/1367545150749802537
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi ๐
Can you clarify what you mean by
the payment method orders are not forced when there are multiple payment method specified
Also it doesn't look like you are specifying ordering in that code.
We have a separate parameter to specify the order for selected payment methods, the paymentMethodOrder parameter
Thanks! We would like to have 'card' always as the first tab in the payment element
But this option is not available in StripeElementsOptions
Also we haven't changed this code in a while and we only started to see this recently (in 5 days or so?)
It's not a Stripe Elements option. It's a PaymentElement option.
We are using <Elements stripe={stripePromise} options={options}>
Where do you create the Payment Element?
ok I see. So we specify the paymentTypes in the elements option, and then order in payment element options?
The Elements provider is used to pass information down to the Element Components. See our React SDK doc
I see thank you very much!
Specifically here. You can specify an options parameter when instantiating the <PaymentElement /> component.
Thanks a lot! I will give it a try!
Thanks again for your help!