#bawanglong1715

1 messages · Page 1 of 1 (latest)

frozen adderBOT
stone basalt
frozen adderBOT
red trellis
#

ClientSecret:pi_3OMkkiCQOGOFHFAn1MOVMZTt_secret_JSmkEndtRTlsnIwCfyXqwVMKV

#

@stone basalt

floral matrix
#

👋 looking here

#

When you created this PaymentIntent, you specified

  automatic_payment_methods: {
    enabled: "true",
  },
#

On above response it says

  payment_method_types: [
    "card",
    "wechat_pay",
    "link",
  ],
red trellis
#

Do you mean to remove this?

#

Delete the places I circled

#

Or how should I modify

floral matrix
#

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?

red trellis
#

This crash occurs when paying with Stripe.

#

Everything works fine when there is no Google Pay option

red trellis
floral matrix
#

So only on mobile, and only when there is a GooglePay button?

red trellis
#

yes

floral matrix
#

Can you share your site URL?

red trellis
#

Are you referring to the APP download address?

#

We don't have a website

floral matrix
#

Hmm is that an app?

#

Which framework are you using to wrap a webview?

red trellis
#

I really want to find a problem

#

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?

floral matrix
#

So is this the PaymentSheet? and which model different is it?

red trellis
#

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.

floral matrix
#

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

red trellis
#

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?

floral matrix
#

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?

floral matrix
#

That's weird. Is your app built by the Android SDK?

red trellis
#

yes

floral matrix
#

Ok, and you have com.google.android.gms.wallet.api.enabled?

red trellis
#

yes

floral matrix
#

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

red trellis
#

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.

floral matrix
#

Let's clarify a bit, there are 2 issues here.

  1. Your Samsung crash with GooglePay button in Live mode
  2. Your Test mode PI doesn't show GooglePay button at all, on some device and show on others

Correct?

red trellis
#
  1. The Google Pay button does not appear on any device in test mode
floral matrix
#
  1. both Samsung and Google phone?
red trellis
#

yes

floral matrix
#

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