Tipsi-stripe: Google Pay in Emulator

Created on 10 Aug 2018  路  2Comments  路  Source: tipsi/tipsi-stripe

Hi all,

The docs are very light on how to get Google Pay running. In fact the links to the Google documentation from your documentation are all broken, leading to further difficulty.

I'm having trouble getting Google Pay to show up in my app (I've only tried in Emulator). Apple Pay works fine, credit card works fine and I'm using the newest "NativePay" functions from your library. Basically the Android pay button just doesn't show, leading me to assume my device is not ready to support it.

I have:

  • installed the wallet enabled manifest code
  • installed the latest tipsi stripe
  • updated the google play services dependencies
  • I'm running API 27+

But Android Pay doesn't show up, only the credit card form. I'm assuming it's something to do with the Emulator and some basic setup that needs to be done in order to get it working. If so, it's likely good information to put in the documentation.

Some things I'm wondering:

  1. Do I need to use a VPN to point my device to specific countries?
  2. Do I need to set up the wallet on my Emulator before hand?
  3. Do I need to create a Google account or other configuration in the Emulator?

Any other reasons you can think of why it's not showing up in the Android emulator?

Paul

Most helpful comment

It is not possible.

https://stackoverflow.com/questions/26100032/how-to-test-in-app-billing-on-an-emulator

https://developer.android.com/google/play/billing/billing_testing

You cannot use the emulator to test Google Play Billing; you must install your application on a device to test Google Play Billing.

All 2 comments

It is not possible.

https://stackoverflow.com/questions/26100032/how-to-test-in-app-billing-on-an-emulator

https://developer.android.com/google/play/billing/billing_testing

You cannot use the emulator to test Google Play Billing; you must install your application on a device to test Google Play Billing.

@paintedbicycle it possible if use genymotion
You need install GApps in Genymotion Android Emulator. Then install gpay from play store and connect your card.

Was this page helpful?
0 / 5 - 0 ratings