stripe / stripe-react-native

React Native library for Stripe.
https://stripe.dev/stripe-react-native
MIT License
1.29k stars 264 forks source link

Google Pay not showing even though isPlatformPaySupported is true in payment sheet #1553

Open hansyulian opened 1 year ago

hansyulian commented 1 year ago

Describe the bug When i use the paymentSheet, it doesn't show google pay option. I checked isPlatformPaySupported and the result is true. if i use confirmPlatformPayPayment, it also success without problem.

To Reproduce Steps to reproduce the behavior:

const { error } = await initPaymentSheet({
        customerId: customer,
        customerEphemeralKeySecret: ephemeralKey,
        setupIntentClientSecret, 
        merchantDisplayName: "Display Name", // compulsory for Android
        style: "automatic",
        googlePay: {
          merchantCountryCode: "SG",
          testEnv: false,
        },
        allowsDelayedPaymentMethods: true,
      });

Expected behavior There should be google pay option

Screenshots If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

Additional context I already do all setup steps in https://github.com/stripe/stripe-react-native

barmaxence commented 11 months ago

+1

MrMuzyk commented 10 months ago

+1

Tieu-Mai-Nhi commented 2 months ago

@hansyulian Did you fix it?

sudhakarmako commented 3 weeks ago

+1

Keikomai commented 19 hours ago

Make sure that the card is added specifically to the Wallet app. You can also add test cards to the account.