Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/mfoud444/woo-sendit-integration/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Quick Links
Introduction
WooCommerce Sendit Integration is a powerful WordPress plugin designed to automate order synchronization and delivery management by integrating WooCommerce with the Sendit delivery service. This plugin enables businesses to streamline their operations directly from their WordPress dashboard.
Features
- Easy API Configuration: Quick and straightforward setup.
- Secure Credential Storage: Safeguard your sensitive data.
- Real-Time Connection Status: Stay updated with live monitoring.
- Automatic Order Synchronization: Save time and eliminate manual tasks.
- Connection Status Monitoring: Reliable status tracking.
Getting Started
Requirements
- WordPress: Version 5.8 or higher
- PHP: Version 7.4 or higher
- WooCommerce: Version 5.0 or higher
- Sendit API Credentials: Active account with API keys.
Installation
- Download the plugin
.zipfile. - Navigate to
WordPress Admin Panel > Plugins > Add New. - Click
Upload Pluginand select the downloaded.zipfile. - Click
Install Nowand thenActivate.
Configuration
- Navigate to
WordPress Admin Panel > Settings > Sendit Integration. - Enable the integration by selecting the checkbox for "Enable Integration".
- Enter your Sendit API Credentials:
- Public Key
- Secret Key
- Click
Save Changes. - Verify your credentials by clicking
Try Login.
Development
API Documentation
This plugin integrates with the Sendit API v1.0.0. For detailed documentation, visit:
https://app.sendit.ma/api/v1/
Authentication Process
- Initial authentication requires Public and Secret Keys.
- A token is generated and used for subsequent API requests.
- The token is refreshed automatically when necessary.
Project Structure
woo-sendit-integration/
├── assets/
│ ├── css/
│ │ └── admin-style.css
│ └── js/
│ └── admin-script.js
├── includes/
│ ├── wc-sendit-settings.php
│ ├── wc-sendit-api.php
│ └── wc-sendit-order-handler.php
├── index.php
├── uninstall.php
└── woo-sendit-integration.php
Security
- Secure storage of API credentials in WordPress options.
- Encrypted HTTPS communication for all API calls.
- Nonce verification ensures the integrity of form submissions.
- Capability checks protect admin actions from unauthorized access.
Contributing Guidelines
We welcome contributions! Check out our contribution guidelines for more details.