GitXplorerGitXplorer
s

tap-to-pay-android-demo

public
18 stars
9 forks
3 issues

Commits

List of commits on branch main.
Verified
ad1b48b0008baea241b696aa67bc12b36fda288d

Merge pull request #7 from kliu-stripe/patch-4

ccecilphillip-stripe committed 22 days ago
Verified
f7d994d559f79defcf725a3bc3232dd9b9bb09ba

Update .cli.json

kkliu-stripe committed 22 days ago
Verified
1b1190c15d8c0ae650874716515ae58177eb8662

Merge pull request #6 from kliu-stripe/patch-3

ccecilphillip-stripe committed 22 days ago
Verified
45b05a6b02a2471d833a2424ab0a8d1b456c603f

Update .cli.json

kkliu-stripe committed 22 days ago
Verified
fc921b88f8de7d8529b2bf99f80520b7c6a927de

Merge pull request #5 from kliu-stripe/patch-2

ccecilphillip-stripe committed 23 days ago
Verified
4ffb8918f033f6b52b2a2a7af95b376742b93223

Create .cli.json

kkliu-stripe committed 23 days ago

README

The README file for this repository.

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: