#Pain - Listing Payment Methods
1 messages · Page 1 of 1 (latest)
Hello! You can only specify one at a time. We're working on improving this, but for now you'll need to make multiple calls.
Which Stripe Element(s) are you using?
The custom payment flow
Sorry, not sure what you mean. We have the Payment Element, the Card Element, the IBAN Element, etc. Can you specify which of those you're using, or point me to the guide you're following?
I believe it's the card element
Oh sorry payment element with the save card functionality
Gotcha. The Payment Element will use the payment method types specified on the Intent you initialize Stripe Elements with. Are you specifying specific types when you create the Intent?
Can you give me the request ID showing the Intent creation? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
I simply passed this option when creating the
automatic_payment_methods: {
enabled: true,
},
Sure, give me a moment
req_xMef7mTHfjycZ8
It seems like it provides card automatically in an array
Ah, okay. So when using automatic payment methods the payment methods you have enabled in the Dashboard will be used. You can look at the payment_method_types array on the Payment Intent created to see which ones are enabled for a given Payment Intent.
Actually relating to this I realized the logic I was trying to do is flawed and wouldn't work
Just to confirm, apple pay and gpay would fall under card too?
Because its weird currently, sometimes it shows the google pay or apple pay but sometimes it does not even when I have them enabled
or do they not show up on test mode?
Apple Pay and Google Pay fall under card, yes. They only show up when someone has an active, valid card in their Apple Pay or Google Pay wallet.
They should show up in test mode when conditions allow.
I tried accessing a live page of mine using stripes checkout page on an iPhone and it does not show
The google pay does show
Have you added your domain in the Dashboard here? https://dashboard.stripe.com/settings/payments/apple_pay
Yes, would I have to add a subdomain too?
Oh it shows up if I use safari
but not if I use google chrome on ios
to confirm this was using stripes checkout system not custom flow