You are on page 1of 1

Product Solutions Open Source Pricing Search Sign in Sign up

GoogleChromeLabs / android-web-payment Public Notifications Fork 13 Star 11

Code Issues 1 Pull requests Actions Projects Security Insights

master 2 branches 0 tags Go to file Code About

No description, website, or topics provided.


agektmr Merge pull request #21 from GoogleChromeLabs/yaraki/fields-removal … 90a5f02 on Sep 16, 2022 50 commits
Readme

SampleMerchant Fix association between payment and merchant 7 months ago Apache-2.0 license

11 stars
SamplePay Align with the upcoming removal of fields 7 months ago
9 watching
CONTRIBUTING.md Clean up the code 4 years ago
13 forks
LICENSE Clean up the code 4 years ago Report repository

README.md Clean up method name references 7 months ago

app-debug.apk Revert a commit that has been wrongly committed 2 years ago Releases

No releases published
README.md

Packages
android-web-payment
No packages published

This is an Android payment app sample that works with Web PaymentRequest API.

SamplePay Contributors 5

An Android payment app


A web payment app (The implementation is empty; it can only delegate to the Android app)
SampleMerchant
A web merchant site
Languages

Test the Android payment App Kotlin 70.2% HTML 26.0%


AIDL 3.8%
1. Download and install app-debug.apk
2. Open the Chrome browser and navigate to https://sample-pay-ss.firebaseapp.com
3. Click on "PAY" button.

SamplePay (Web)

The project can be deployed to Firebase Hosting.

1. Install Firebase CLI.


2. Create a new Firebase project.
3. Edit SamplePay/.firebaserc and change the project ID to yours.
4. Edit SamplePay/public/manifest.json and change the domain nams to yours. Also, change the fingerprint
SHA256 hash to your SamplePay's app.
5. Edit SamplePay/public/payment-manifest.json and change the domain name to yours.
6. Edit SamplePay/firebase.json and change the domain name to yours.
7. Run $ firebase deploy .

SamplePay (Android)

1. Import the project path ( SamplePay/ ) to Android Studio.


2. Modify SamplePay/gradle.properties and change the domain name to yours.
3. Run

SampleMerchant

The project can be deployed to Firebase Hosting.

1. Install Firebase CLI.


2. Create a new Firebase project.
3. Edit SampleMerchant/.firebaserc and change the project ID to yours.
4. Edit SampleMerchant/public/index.html and change the supportedMethods to your SamplePay's domain.
5. Run $ firebase deploy .

© 2023 GitHub, Inc. Terms Privacy Security Status Docs Contact GitHub Pricing API Training Blog About

You might also like