Sending Setu’s UPI payment links via sound from merchant to customer.
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.
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
npm install
npm run start
This repo comes with a Procfile
which you can use to deploy to Heroku following this guide.