#sb-checkout-paymentmethod
1 messages ยท Page 1 of 1 (latest)
Hi ๐
Where are you seeing these options that you do not want to?
I'm using stripes prebuilt checkout page, and would like the customer to only use instant payment methods
It's my checkout page, currently using test mode
Okay. So when you create the Checkout Session you would want to specify which payment_method_types you want to accept.
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_method_types
Sure thing, it's why we are here ๐
yes gotta say it's quite a unique thing to have a discord like this, but very helpful ๐
thanks
And let me be clear, there are both payment_method_options and payment_method_types
ah yes, that's the one I want
You use the _types one to specify only the Payment Methods you want to accept
And then you can configure different options for each payment method you accept in payment_method_options
It can be kind of confusing but that's because we give you a lot of ways to configure your Checkout Session
ah okay I understand, stripe api seems to think of everything though, so I'm not complaining
thank you for the help
Happy to do it ๐
Also, is there a list that kind of specifies what is an instant payment out of this list?
just, I'm not familiar with every type of payment
Sure thing! These get kind of complex too so we have detailed docs for each one. But you should be able to narrow it down from this overview: https://stripe.com/docs/payments/payment-methods/overview
Great, I hope it is helpful
and may I just ask
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_method_types
what is the parameter value for wallets?
Digital wallets are mostly convenience wrappers (with some security features) around Card payment methods. So as long as you have the wallet enabled in your Dashboard settings and specify card in the payment_method_types you should see the wallets displayed.
ah okay I see it, thanks