#ilamathi-checkout-pm
1 messages · Page 1 of 1 (latest)
Hey! You'd pass payment_method_types when creating the Checkout Session: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_method_types
But Google/Apple Pay are considered the 'card' type and there's no way to distinguish them I'm afraid
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yes, i am also in the same understanding... Right now i am passing card only, and when i launch in chrome i am getting both Gpay & card..
So no way to distinguish & control this visibility right?
You mean stripe UI element whichever i need i can use to show to customer
Also stripe provide payment method listing API and where it asking to pass type param.. Is this type is mandatory if so it will accept array value?
It is required yes, and no it's a String enumeration
so at a time only one type of payment method i can get like either card or acss_debit or alipay like anyone.. AM i right?
Yep!