#bawanglong1715

1 messages · Page 1 of 1 (latest)

unborn slateBOT
twin shale
#

How can I help?

keen birch
#

I had a problem when I was using Google Pay to pay.

#

Wait a minute, I'll send you a screenshot

twin shale
#

Ok. Just to clarify, are you a Stripe user who wrote code to integrate Stripe payemnts, or you are a customer who are trying to pay in a website that uses Stripe to process payments?

keen birch
#

I am using this "api 'com.stripe:stripe-android:20.33.0'"

#

This problem occurred when I clicked Google Pay

twin shale
keen birch
#

I am currently testing in a test environment

twin shale
#

So you encountered thsi problemin test mode? what's the payment intent ID?

keen birch
#

pi_3OFprcCQOGOFHFAn0PRm0PE2

#

Yes I am in test mode

twin shale
#

Are you using a China UnionPay card?

keen birch
#

no

twin shale
#

Are you use the test mode publishable key in your android app?

keen birch
#

Sorry, I didn't understand what you meant

twin shale
#

What publishable key do you use in your andorid app? does it start with pk_test or pk_live ?

keen birch
#

I didn’t package this APP, I ran it on my phone myself

#

pk_test_

#

pk_test_

twin shale
#

Run adb -d logcat -s WalletMerchantError and see what error it is.

keen birch
#

There seems to be no log printing

twin shale
#

Are you testing from a country where Google Pay is supported?

keen birch
#

My phone is paid because I can use it to purchase items from the Google Store

twin shale
#

I don't know what it means

keen birch
twin shale
#

I don't think Google Pay is supported in China.

keen birch
#

But when I released it in the production environment, the same problem occurred when our users used Google Pay. Our users come from different countries around the world

keen birch
#

The printed log is this

twin shale
#

Ok, what country code did you set?

keen birch
#

Where is this set?

#

Okay I already know where to set this

keen birch
#

I want to know what this setting does

twin shale
#

I believe the API reference provides explanation already