mirror of
https://github.com/valitydev/android-quickstart.git
synced 2024-11-06 02:05:17 +00:00
Payment API -> Pay API
This commit is contained in:
parent
e9b5d6dcae
commit
6bee22cbce
13
README.md
13
README.md
@ -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 customer’s Google account, including their Android Pay credentials.
|
||||
The Google Pay API can be used to request any credit or debit card stored in
|
||||
your customer’s 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.
|
||||
|
@ -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
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user