#bawanglong1715
1 messages · Page 1 of 1 (latest)
are you referring to this page? https://dashboard.stripe.com/settings/payment_methods/review
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
A crash occurred when I invoked payment.
ClientSecret:pi_3OMkkiCQOGOFHFAn1MOVMZTt_secret_JSmkEndtRTlsnIwCfyXqwVMKV
@stone basalt
👋 looking here
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
When you created this PaymentIntent, you specified
automatic_payment_methods: {
enabled: "true",
},
So this will takes payment methods available from https://dashboard.stripe.com/test/settings/payment_methods
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
On above response it says
payment_method_types: [
"card",
"wechat_pay",
"link",
],
Do you mean to remove this?
Delete the places I circled
Or how should I modify
No I mean it's correct already. Your error could have a different reason
Can you reproduce on PC? What's output on your console?
This crash occurs when paying with Stripe.
Everything works fine when there is no Google Pay option
Unable to reproduce on PC
So only on mobile, and only when there is a GooglePay button?
yes
Can you share your site URL?
I really want to find a problem
The apps installed on both phones are the same
The phone on the left will crash when allowed, and the phone on the right can open the payment interface normally.
Does stripe have version requirements for Google Pay?
So is this the PaymentSheet? and which model different is it?
The models of mobile phones are different. The one on the left is a Samsung mobile phone and the one on the right is a Google mobile phone.
Hmm looks like a hardware problem then
I guess you want to enable remote debug and see if there is error in the console then
I have a new question
Test environment: pi_3OMlt9CQOGOFHFAn0EUUTzq2
Production environment: pi_3OMlxFCQOGOFHFAn0rOIsMlM
The Google Pay button is visible in the production environment, but not in the test environment. Can you find the reason?
It's hard to tell just from 2 PIs. From our log they looks similar
On your account have you enabled GooglePay in Test mode?
Are all the PI in Test mode doesn't have GooglePay?
Enabled
yes
That's weird. Is your app built by the Android SDK?
yes
Ok, and you have com.google.android.gms.wallet.api.enabled?
Can your test mode project show GooglePay on any other devices?
Want to make sure this is not a hardware problem
You have multiple devices as you mentioned, Samsung and Google
Not any device
出错堆栈
1 android.os.Parcel.createException(Parcel.java:2088)
2 android.os.Parcel.readException(Parcel.java:2056)
3 android.os.Parcel.readException(Parcel.java:2004)
4 m.azz.q(:com.google.android.gms.dynamite_dynamitemodulesc@234523022@23.45.23 (100400-0):172)
5 m.azw.a(:com.google.android.gms.dynamite_dynamitemodulesc@234523022@23.45.23 (100400-0):14)
6 m.azy.c(:com.google.android.gms.dynamite_dynamitemodulesc@234523022@23.45.23 (100400-0):7)
7 m.azr.d(:com.google.android.gms.dynamite_dynamitemodulesc@234523022@23.45.23 (100400-0):7)
8 m.azs.handleMessage(:com.google.android.gms.dynamite_dynamitemodulesc@234523022@23.45.23 (100400-0):281)
9 android.os.Handler.dispatchMessage(Handler.java:107)
10 android.os.Looper.loop(Looper.java:237)
11 android.app.ActivityThread.main(ActivityThread.java:7860)
12 java.lang.reflect.Method.invoke(Native Method)
13 com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
14 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1075)
This is the stack print that crashed when the Google Pay button appeared on my Samsung phone.
Let's clarify a bit, there are 2 issues here.
- Your Samsung crash with GooglePay button in Live mode
- Your Test mode PI doesn't show GooglePay button at all, on some device and show on others
Correct?
yes
- The Google Pay button does not appear on any device in test mode
- both Samsung and Google phone?
yes
All right I guess we will need a bit more time to look closely. Can you send us a minimal project which can reproduce your issue? And we will try to see if that's code or account problem