android-quickstart/README.md

32 lines
1.2 KiB
Markdown
Raw Normal View History

2017-10-26 15:28:39 +00:00
# Google Payment API sample app
2017-10-04 11:10:00 +00:00
## Overview
2017-10-26 15:28:39 +00:00
This sample demonstrates basic usage of the Google Payment API.
The Google Payment API can be used to request any credit or debit card stored in
your customers Google account, including their Android Pay credentials.
For more information, visit the following link:
2017-10-04 11:10:00 +00:00
https://developers.google.com/payments/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.
2017-10-26 15:28:39 +00:00
## Requirements
In order to build and run this sample app, make sure you:
- Have Android Studio 3.0 or newer installed.
- Have a device running Android 4.4 (KitKat) or newer.
- Have Google Play services version 11.4.0 or newer installed on this device.
To be able to fully test the API, you will also need to:
- [Add a payment method to your Google Account](https://support.google.com/payments/answer/6220309).
- [Install and add a payment method to Android Pay](https://support.google.com/androidpay/answer/6289372) (optional).
- Consult your payment processor's documentation to learn about whether they support paying with Google.