#young-za_api
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. Thank you for your patience!
âąď¸ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.
đ 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/1214942074529386567
đ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
When you say you want to default to bank, do you want to disable cards? OR just show ACH as the first option on the element?
Just show ACH as the first option
Gotcha. Let me think
I have this now
val params = SetupIntentCreateParams.builder()
.setCustomer(customer.id)
.addPaymentMethodType("us_bank_account")
.addPaymentMethodType("card")
.build()
Ah actually, you'd handle this client-side.
You can set paymentMethodOrder param to arrange the payment method types on the PaymentElement
https://docs.stripe.com/js/elements_object/create_payment_element#payment_element_create-options-paymentMethodOrder