Payment API -> Pay API

This commit is contained in:
Filip Stanis 2018-02-21 10:50:48 +00:00 committed by Filip Stanis
parent e9b5d6dcae
commit 6bee22cbce
2 changed files with 11 additions and 10 deletions

View File

@ -1,14 +1,15 @@
# Google Payment API sample app
# Google Pay API sample app
## Overview
This sample demonstrates basic usage of the Google Payment API.
This sample demonstrates basic usage of the Google Pay 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.
The Google Pay API can be used to request any credit or debit card stored in
your customers Google account, including their tokenized credentials from
the Google Pay app.
For more information, visit the following link:
https://developers.google.com/payments/overview
https://developers.google.com/pay/api/overview
## Instructions
@ -27,5 +28,5 @@ In order to build and run this sample app, make sure you:
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).
- [Install and add a payment method to the Google Pay app](https://support.google.com/pay/answer/6289372) (optional).
- Consult your payment processor's documentation to learn about whether they support paying with Google.

View File

@ -58,10 +58,10 @@ public class Constants {
// PAYMENT_METHOD_CARD returns to any card the user has stored in their Google Account.
WalletConstants.PAYMENT_METHOD_CARD,
// PAYMENT_METHOD_TOKENIZED_CARD refers to cards added to Android Pay, assuming Android
// Pay is installed.
// Please keep in mind cards may exist in Android Pay without being added to the Google
// Account.
// PAYMENT_METHOD_TOKENIZED_CARD refers to EMV tokenized credentials stored in the
// Google Pay app, assuming it's installed.
// Please keep in mind tokenized cards may exist in the Google Pay app without being
// added to the user's Google Account.
WalletConstants.PAYMENT_METHOD_TOKENIZED_CARD
);