ultrasonic-payments icon indicating copy to clipboard operation
ultrasonic-payments copied to clipboard

Experiment using ultrasonic data transmission in JavaScript as a payment method. 💸

Ultrasonic payments

⚠️ This is not a real Stripe product ⚠️

I've been experimenting with ultrasonic data transmission in the context of ultrasonic payments. This repository contains a small demo sending a Stripe Payment Link between a merchant's transmitter device (e.g. tablet) and a customer's receiver (e.g. mobile phone).

It is relying on quiet.js and sends data via inaudible sounds.

GIF showing how I am sending a Stripe Payment Link via ultrasound to my phone

If you want to try it out, play around with the live demo, and if you want to learn more, check out the blog post.

How to run

If you want to run this locally, start by cloning this repository, and start a Python server with:

# Using Python 2
python -m SimpleHTTPServer 3000

# Using Python 3
python -m http.server 3000