★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/raulsp9007/emp-wp-clover/archive/refs/heads/master.zipClover HTTP Client WordPress Plugin
A WordPress plugin to test HTTP requests with the Clover API using custom merchid and token.
Features
- Configure your Clover API credentials (merchid and token) in the WordPress admin
- Test GET requests to any Clover API endpoint
- Test POST requests with custom JSON body
- Built-in response viewer for API responses
Installation
- Copy the entire plugin folder to your WordPress installation's
/wp-content/plugins/directory - Activate the plugin through the WordPress admin plugins page
- Navigate to Settings > Clover API to configure your credentials
Configuration
- Go to Settings > Clover API in your WordPress admin
- Enter your Merchant ID and API Token
- Optionally customize the API Base URL (defaults to https://api.clover.com/v3/)
- Save the settings
Usage
After configuring your credentials:
Making GET Requests
- Enter an endpoint in the GET Request field (e.g.,
/merchants/{merchant_id}) - Click "Send GET Request"
- View the response in the designated area
Making POST Requests
- Enter an endpoint in the POST Request field (e.g.,
/merchants/{merchant_id}/orders) - Enter your JSON payload in the textarea
- Click "Send POST Request"
- View the response in the designated area
Security Notes
- API tokens are stored securely in WordPress options table
- All inputs are sanitized before processing
- Nonce verification is used for form submissions
Requirements
- WordPress 4.9 or higher
- PHP 5.6 or higher
- cURL support (for HTTP requests)
Support
For support, please contact the plugin developer.