Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.17 KB

README.md

File metadata and controls

34 lines (22 loc) · 1.17 KB

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.