Skip to content

vsrivatsa-edinburgh/hyperswitch-html-node-integration

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hyperswitch HTML + Node Integration

Build a simple checkout web-app to collect payment details and make a test payment. Included are some basic build and run scripts you can use to run the demo application.

Introduction

This demo application uses the following tech-stack :

Frontend : HTML + CSS with JavaScript

Backend : Node

Prerequisites

Before running the demo app, please make sure to activate your Hyperswitch secret keys (API Key and Publishable Key) in your Hyperswitch Dashboard.

Don't have a Hyperswitch account? Sign up here!

Running the sample

  1. Add your keys :

    • Navigate to public/script.js and replace the placeholder HYPERSWITCH_PUBLISHABLE_KEY with your publishable key.
    • Navigate to server.js and replace the placeholder HYPERSWITCH_API_KEY with your API key.
  2. Install the dependencies / build the server :

npm install
  1. Run the server :
npm run start
  1. The sample app will now be accessible here : http://localhost:4242/index.html.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 49.2%
  • JavaScript 31.4%
  • HTML 19.4%