/clover-web-integration

Clover API helper

Primary LanguagePythonMIT LicenseMIT

clover-web-integration

pdm-managed

The repo provides a simple way to generate an authentication token for testing Clover APIs.

Prerequisite

  1. Create Clover developer account
  2. Create Clover Web Application, ensure proper authentication flags are turned on for the required APIs
  3. Python >= 3.8
  4. PDM
  5. Set environment variable CLOVER_SECRET with you application secret

Running

To execute the authentication web-service use:

pdm run start

If you're running locally it is use ngrok or similar tool, to configure the route for the Clover App authentication.

Use the Clover POS to initiate a call for the web-app, and see the printed results. To use Clover APIs you will need the merchant-id and the printed authentication token

Good luck!