Skip to content

aashu331998/hyperswitch-html-demo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hyperswitch-html-demo-app

A simple app to demo html integration of Hyperswitch

Running the sample

  1. Build the server
npm install or yarn
  1. Provide valid Api key in server.js and Publishable key in checkout.js. You can create your keys using the Hyperswitch dashboard. https://app.hyperswitch.io/
//in server.js
const hyper = require("@juspay-tech/hyperswitch-node")("api_key");
//in checkout.js
const hyper = Hyper("publishable_key");

Note: If you have migrated from Stripe, ensure that you have enabled the 'Handle card information directly' option under the Settings > Integration section of your Stripe dashboard to allow hyperswitch to securely process your customers' card details.

  1. Run the server
npm start
  1. Go to http://localhost:4242/checkout.html

About

A simple app to demo html integration of Hyperswitch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published