/upi-over-sound

Sending Setu’s UPI payment links via sound from merchant to customer.

Primary LanguageJavaScript

Payments via Sound

Sending Setu’s UPI payment links via sound from merchant to customer.

Demo

This is a node server which uses quiet.js to establish an audible transmitter and receiver.

Merchants can generate an UPI link with desired amount and Customers can receive is using the same application.

How to

Setup UPI Deeplink with Setu

Follow this documentation to setup UPI Deeplinks with Setu. At the end of it, you would be able to get sandbox credentials, product_instance_id, client_id and client_secret for your product.

Replace the values in .env file

Running the app

Install dependencies

npm install

Start server

npm run start

Deploy to Heroku

This repo comes with a Procfile which you can use to deploy to Heroku following this guide.