#Sam Chilles - Digital Wallet
1 messages ยท Page 1 of 1 (latest)
Hello
I am using payment intent
https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements#apple-pay-and-google-pay
According to this doc, GPay and Apple pay is displayed to user when automatic_payment_method is enable
I have it enabled in my code
But what are you using to render the the front-end?
custom CSS
Payment Element, Card Element?
ejs file
So nothing Stripe related?
You can try integrating the Payment Request Button:
https://stripe.com/docs/stripe-js/elements/payment-request-button
here different payment options are shown at the top(it's a pic from stripe docs)
similarly, I want to show GPay and Apple Pay option to my user
That is if you are using Stripe.js and rendering the Payment Element
I am using it
Ah that is what I was asking earlier
oh
I notice you have the country set to India. Is that always the case?
Basically, my platform is registered in India...
User can select any country from drop-down
but I am planning to make transactions only in India
I am doing some more research but I have been aware of difficulties with Apple/Google Pay in India
oh ok
btw, it's ok...Apple Pay and Google Pay integration is not an urgent task for me
but now, when I tried to do a test payment with card(test credentials), it said hooks.stripe.com refused to connect
and then when I logged on to my stripe acc and enabled test mode then payment was successful
what's the issue?
You can only use test cards when using your account in test mode.
I can tell you more if you can share the request ID
I wish I could help, but this chat is focused on developers and technical questions. Our support team will be able to assist you better than I can: https://support.stripe.com/contact/email
actually, there are multiple events logged within few mins...so, I am not sure which event belongs to that webhook error
but I tried making a payment in test mode again, and it works fine
๐
Thanks for helping ๐
Have a great day!
Sure thing!