Skip to content

supriya-premkumar/Automated_Checkout_Using_NFC_and_Stripe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Imagine a world where you never have to wait in check out lines. This project is a Proof of Concept that to enable such a customer experience using NFC and Stripe

A customer walks into the store and taps his android phone on the item he intends to buy. The item has its price data written on the mounted NFC tag.

The app scans the price information, on user confirmation talks to Stripe to obtain a token for the entered credit card details.

The token is sent via POST securely to the backend server along with the validated price. The backend server uses the token and charges the card using Stripe API.

The backend server can then use the transaction status returned by stripe to either disable the anti-theft devices and send an invoice to the customer.

File Descriptions:

The client side main functionality is implemented by two files.

  1. MobilePayment.java: Reads data from NFC, performs user interaction to confirm buying of the item.

  2. ProcessPayment.java: On confirmation of buying it provides a a dialog box to enter the credit card details using stripe checkout api and obtains the token. This token is securely transmitted to the backend server where the card gets charged.

Both these files are found in: app/src/main/java/nfc/android/mobilepayment/

Dependencies:

The project dependencies are described in app/build.gradle

Specifically we need the stripe android library

Video Demo:

Mobile Payments Video

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages