Skip to content

stripe-samples/tap-to-pay-android-demo

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

update SDK version

update links in README

update the README

remove repository
5c65bdf

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
June 14, 2023 15:33
June 14, 2023 15:33
June 14, 2023 15:33
June 14, 2023 15:33
June 14, 2023 15:33
June 14, 2023 15:33
June 14, 2023 15:33
June 14, 2023 15:33
June 14, 2023 15:33
June 14, 2023 15:33
June 14, 2023 15:33

Tap to Pay with Stripe - Android demo

This is a small demo using Tap to Pay with Stripe for Android. The flow is kept very simple to focus on teaching developers how to integrate Tap to Pay with Stripe.

If you want to learn how to add Tap to Pay to an Android app, check out the blog post, tutorial video and our docs for more information.

Installation

You can clone this repo and run it using Android Studio. Using the Stripe Terminal SDK requires a back-end server to run, and it needs to be available with a public URL.

In the graddle.properties file, you will find the variable EXAMPLE_BACKEND_URL where you need to indicate the URL to an app hosted and available publicly. If you want to get started quickly, you can clone this example back-end, update it to use your Stripe publishable and secret keys, host it on Render or any service that will give you a public URL, and replace the EXAMPLE_BACKEND_URL with it.

Create a location

In the Stripe dashboard, you need to create at least one location to manage your reader.

Once this is done, you should be able to run the application successfully.

Demo

Once you run the demo on your mobile device, you should see the following screens:

About

A demo app of Tap to Pay with Stripe on Android

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages