Skip to content

Clover OAuth implementation using a Node/Express backend.

Notifications You must be signed in to change notification settings

anilahir/OAuthNodeExpress

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OAuthNodeExpress

Requirements

Set Up

Follow these instructions for creating a Clover web app and installing it to your sandbox test merchant. When creating the app, select the permissions you want the OAuth token to have.

  • On the app's Settings page, note App ID and App Secret. Set them as appID and appSECRET at the top of index.js.
  • Under Web Configuration, set Site URL and CORS Domain to http://localhost:5000.

OAuth Version 1 and Version 2 Endpoints

Run:

  • npm install
  • npm run server

In your web browser, visit:

Note: The Clover v2 OAuth flow is only available in North America.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%