• Stars
    star
    367
  • Rank 115,722 (Top 3 %)
  • Language
    Kotlin
  • License
    Apache License 2.0
  • Created about 7 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Google Pay API sample application for Android

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

In Android Studio, open the kotlin or java directory to get started.

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:

Support

For any questions or issues, please refer to our How to get help page.

More Repositories

1

google-pay-button

Google Pay button - React, Angular, and custom element
TypeScript
250
star
2

flutter-plugin

Dart
141
star
3

wallet-samples

Samples for the Google Wallet REST APIs
C#
137
star
4

passes-rest-samples

Server-side samples for the Google Pay API for Passes
C#
96
star
5

pass-converter

Tool to convert passes for different wallet apps from one format to another
JavaScript
78
star
6

pay-server-demos

Google Pay with various Payments Service Providers (PSPs)
JavaScript
40
star
7

react-store

Example shop/store built with React
TypeScript
29
star
8

payment-data-cryptography-dotnet

Sample implementation of Google Pay Payment Data Cryptography in C#
C#
29
star
9

compose-pay-button

An Android library that provides a Jetpack Compose wrapper on top of the Google Pay Button API.
Kotlin
27
star
10

wallet-web-codelab

Sample code used for the Google Wallet Codelab
JavaScript
21
star
11

s2gp-quickstart-android

Save to Google Pay Quickstart
Java
21
star
12

react-native-make-payment

React Native library for making native payments
Kotlin
17
star
13

tink-jni-examples

Sample codes for using Tink via JNI
C#
16
star
14

firebase-extension

JavaScript
10
star
15

gpay-live-demo

Live demonstration buttons for https://developers.google.com/pay/api/web/guides/resources/demos
HTML
9
star
16

littlebear-web-push-provisioning

Sample code demonstrating how to call the Google Pay Web Push Provisioning API.
JavaScript
8
star
17

walletobjects-utils

A tool to help you get an OAuth 2.0 bearer token.
8
star
18

save-to-google-pay-button

Save to Google Pay button - React, Angular, and custom element
TypeScript
7
star
19

smart-tap-sample-app

Java
7
star
20

angular-store

Example store built with Angular
TypeScript
7
star
21

gpay-loyaltyapi-demo

Google Loyalty API demo application and code sample
JavaScript
6
star
22

gsp-pgp-java

Google Standard Payments PGP Java lib
Java
4
star
23

loyalty-api-kotlin

Code example for integrating with the Google Pay Passes API for Loyalty
Kotlin
2
star
24

wallet-android-codelab

JavaScript
2
star