#Kaushal - Google Pay

1 messages ยท Page 1 of 1 (latest)

desert hill
#

Hi there. One moment

smoky falcon
#

๐Ÿ‘‹ stepping in as codename_duchess needs to step away

#

Do you have a live card saved in your wallet?

dim frigate
#

yes

smoky falcon
#

?

dim frigate
#

I am working from India

smoky falcon
#

Ah that's the issue

dim frigate
#

oh

#

how to test it then , i am using TEST ENVIRONMENT na

smoky falcon
#

Not possible from India.

dim frigate
#

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

smoky falcon
#

Yep that would work

dim frigate
#

cool, thanks so much

#

really liked the Stripe team's continous development support, cheers to you guys, keep the dev's helping as always ๐Ÿ™‚

smoky falcon
#

โค๏ธ

dim frigate
#

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

smoky falcon
#

From India?

dim frigate
#

yes

smoky falcon
#

Are they on a VPN?

#

Also what is "some time ago"? We did have to implement this ~recently due to new India regulations

dim frigate
#

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

smoky falcon
#

Do you have a PaymentIntent that I can look at from that test?

dim frigate
#

means from IOS paymentIntent ?

smoky falcon
#

Yep

dim frigate
#

let me check

smoky falcon
#

Thanks

dim frigate
#

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

smoky falcon
#

My understanding was no.

#

But I'm not in India nor are my colleagues so we haven't actually tested that

dim frigate
#

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"}

smoky falcon
#

๐Ÿ‘€

dim frigate
#

aren't you sure about this

smoky falcon
#

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.

dim frigate
#

cool, thanks , waiting

smoky falcon
#

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?

dim frigate
#

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

golden aspen
#

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

dim frigate
#

sure will do it and let you know