#meow_67428
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- meow_67428, 6 days ago, 24 messages
Apple and Google Pay are under the "card" umbrella, so as long as card is included in your payment method types, wallets should show up in the element
alright so I need to provide both "automatic_payment_methods"and "payment_methods" to create the setup_intent ?
Stripe::SetupIntent.create({automatic_payment_methods:{enabled: true, allow_redirects:never}}, {payment_method_types: ['card']})
something like this ?
Only one or the other
Are you saying that you are currently creating a setupintent and google pay is not showing up as an option in the payment element?
I don't know how to test it on the backend only, like with postman for instance, I am trying to figure out what the payment element will return in the response if I click on google pay
It would be pretty much the same as confirming a card payment method on the payment element. The payment method would behave the exact same, the only difference is that there is a field or two on the PaymentMethod itself that designates that it came from a google pay wallet.
If you can't spin up your own webpage at the moment, you can make a test mode Checkout Session in setup mode and create a google pay payment method through there