Skip to content
This repository was archived by the owner on Oct 21, 2021. It is now read-only.

Latest commit

 

History

History

python

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Python Developer Pay API Example

Requirements

Prerequisites

Log into your Clover Sandbox developer account and create an app with the following permissions:

  • Merchant Read
  • Orders Read
  • Orders Write
  • Payments Read
  • Payments Write
  • Process Credit Cards

Install the app to your test merchant and create an OAuth token.

Setting Up the Script

Install the dependencies by executing the following command from the terminal:

pip install -r requirements.txt

Open webpay.py and edit the script config to include your own test Merchant ID, an Order ID belonging that Merchant, and the OAuth token you created.

Running the Script

To run the script, execute the following command from the terminal:

python webpay.py