Skip to content
Google Pay API sample application for Android
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app/src/main/res/raw
java Update build gradle Mar 15, 2019
kotlin
.gitignore initial commit Oct 4, 2017
CONTRIBUTING.md Update CONTRIBUTING.md Mar 15, 2019
LICENSE
README.md

README.md

Google Pay API sample app for Android

Overview

This sample demonstrates basic usage of the Google Pay API for Android.

The Google Pay API can be used to request any credit or debit card stored in your customer's Google account, including Android device tokens managed in the Google Pay app on Android.

For more information, visit the following link:

https://developers.google.com/pay/api/android/overview

Instructions

Make sure you read the comments in Constants.java and PaymentsUtil.java before you continue. These files must be modified prior to running the app, as per the instructions provided in the comments.

Requirements

In order to build and run this sample app, make sure you:

  • Have Android Studio 3.0 or greater installed.
  • Have a device running Android 4.4 (KitKat) or greater.
  • Have Google Play services version 16.0.0 or greater installed on this device.

To be able to fully test the API, you will also need to:

You can’t perform that action at this time.