8

I integrated google pay with stripe and configured test environment in google pay and stripe . Now i want to test it , its not accepting stripe test card to my google pay . Is there any specific test card for google pay ? Is it ok to add original card? , Are they going to charge any money in test environment?

Rakki s
  • 1,426
  • 1
  • 18
  • 42

2 Answers2

6

We can use our real card for testing, but in Google-Pay's test mode and/or environment no amount will be charged.

(For India there will be a charge of $1, but in few minutes it reversed back into the same account.)

Top-Master
  • 7,611
  • 5
  • 39
  • 71
Rakki s
  • 1,426
  • 1
  • 18
  • 42
  • It shows that unrecognized app .Please make sure to test the app with payment. Please can u help me out.how to make the payment in test mode – Lahari Areti Nov 23 '18 at 11:08
  • Before you publish you need to submit to google support team for approval. Please contact google support team for it. – Rakki s Nov 30 '18 at 05:37
  • For testing Purpose also, we need to send the apk to google – Lahari Areti Dec 03 '18 at 05:52
  • Testing we can do no problem but when we want to release our app should pass googles test , otherwise it will show unrecognized app. – Rakki s Dec 03 '18 at 11:10
  • I have given a real card in testing but still, it shows me request failed error. Today we have a beta release. Please, can u say how long it takes? – Lahari Areti Dec 03 '18 at 11:39
  • Rakki s How many days it takes to get the live access. Can you give full detail procedure? Can you contact me with these mail: lahariareti10@gmail.com. Because it is very Important. For these, we delayed for our Production. Can You help me out without any hesitation? Thanks – Lahari Areti Dec 04 '18 at 11:27
  • Time is based on google support team and how good you followed google recommendation .Procedure is send apk in test environment to google team they will ask live once your test environment apk pass test . Once google checked and confirmed your app can go to production. – Rakki s Dec 06 '18 at 06:06
  • Rakki can you please help me? I integrate google pay in my android app with the stripe. In the test environment, I test it with a stripe sample card. but it shows invalid payment method error. how can I fix it? – Rosemary Feb 07 '19 at 09:43
  • One more thing, in google validation procedure they ask a merchant name, what is it? – Rosemary Feb 07 '19 at 09:52
  • 1
    @RosemaryRajan Please read the answer , you can use your real card not stripe test card. All you have to check is google pay should be test environment . – Rakki s Feb 09 '19 at 09:37
  • they ask a merchant id, what is it?@Rakki s – Rosemary Feb 11 '19 at 05:02
  • Sorry i have no idea about merchant id . – Rakki s Feb 11 '19 at 11:49
0
val googlePayLauncher = GooglePayPaymentMethodLauncher(
            activity = this,
            config = GooglePayPaymentMethodLauncher.Config(
                environment = GooglePayEnvironment.Test,
                merchantCountryCode = "IN",
                merchantName = "merchantName"
            ),
            readyCallback = ::onGooglePayReady,
            resultCallback = ::onGooglePayResult
        )

GooglePayEnvironment.Test test mode no amount will be charged

  • 1
    As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Mar 13 '22 at 12:27