stripe-paymentsgoogle-pay

Does Stripe Google Pay integration can be tested with Google's test card suite?


I am trying to setup my Google account correctly so that this Stripe Payment Element demo would show Google Pay option.

I have added my Google account to test card suite group as per Google's instruction. I can successfully use test suite cards in Google's Pay button demo.

However, I still cannot see Google Pay neither in Payment Element demo, nor in the old Payment Request Element demo.

I'm using latest Chrome.

Can I use Google's test card suite to test Stripe Google Pay integration?

Or is my only option to use real cards?


Solution

  • No, you must connect a real, valid card to your wallet.

    If your Stripe implementation is initialized with your test keys, then no payment will go through.

    Related documentation:
    https://stripe.com/docs/stripe-js/elements/payment-request-button#html-js-testing
    The documentation that explains this best is actually related to Apple Pay, even though it's the same principle for both wallets:
    https://stripe.com/docs/apple-pay?platform=ios#testing-apple-pay