#Kaushal - Google Pay
1 messages ยท Page 1 of 1 (latest)
๐ stepping in as codename_duchess needs to step away
Do you have a live card saved in your wallet?
yes
Can you see the Google Pay Button at the top of the page here: https://stripe.com/docs/stripe-js/elements/payment-request-button
?
I am working from India
Ah that's the issue
Google Pay and Apple Pay aren't supported in India: https://support.stripe.com/questions/supported-payment-methods-currencies-and-businesses-for-stripe-accounts-in-india
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Not possible from India.
So I need to do all the coding part and send the apk to my team in UK, will that work ?, my team is based in UK as well
Yep that would work
cool, thanks so much
really liked the Stripe team's continous development support, cheers to you guys, keep the dev's helping as always ๐
โค๏ธ
Hey, just checked with one of my colleague he was able to test apple pay successfully with TEST PUBLISHABLE KEY in his iPhone using stripe
just some time ago
From India?
yes
Are they on a VPN?
Also what is "some time ago"? We did have to implement this ~recently due to new India regulations
some time ago means just half an hour back, not sure he is on VPN, let me check
he is testing on the IOS simulator with TEST environment, payment was successful for him, he is not on VPN
Do you have a PaymentIntent that I can look at from that test?
means from IOS paymentIntent ?
Yep
let me check
Thanks
I will send you the payment intent in few mins, when i get it
is it possible to test for google pay in india from emulator
My understanding was no.
But I'm not in India nor are my colleagues so we haven't actually tested that
Tested from emulator set the location to UK and US, but not working there as well
this is the payment intent from IOS TEST: {"ClientSecret":"pi_3LfnhcGfgz2J4wP21M9xsKli_secret_Jy0mKIbVZa4CxRKzEfKop3rMB","Status":"requires_confirmation"}
๐
aren't you sure about this
Okay actually I may have been incorrect and the regulation may be a Web limitation. I'm double checking with a colleague but you may be able to test Google/Apple Pay in India on Mobile SDKs. One sec, let me confirm.
cool, thanks , waiting
Okay confirmed. It is only a web limitation. So you should be able to test. Can you provide your Google Pay code snippet that I can take a look at?
sure
PaymentConfiguration.init(requireContext(), PUBLISHABLE_KEY);
GooglePayLauncher googlePayLauncher = new GooglePayLauncher(
this,
new GooglePayLauncher.Config(
GooglePayEnvironment.Test,
"UK",
"Cab9"
),
this::onGooglePayReady,
this::onGooglePayResult
);
this is declared on the onCreateView method of a fragment
onGooglePayReady always returns false on my android phone
@dim frigate can you try hooking up adb and then trying to run on your physical device?
Follow the instructions here: https://developers.google.com/pay/api/android/support/troubleshooting
and that might log out errors to your Terminal
typically when you see Google Pay Ready returning "false" it typically is cause something about the device or the device environment isn't ideally set up for Google Pay.
let's start there first
sure will do it and let you know