WooCommerce payment gateway plugin for Cameroon - Accept MTN MoMo and Orange Money through Smobilpay S3P API. Features automatic webhooks, email/WhatsApp notifications, and bilingual error handling (EN/FR).
# WooCommerce Smobilpay Gateway
Accept MTN Mobile Money and Orange Money payments on your WooCommerce store via the Smobilpay S3P API.
## Description
This WordPress plugin integrates Smobilpay's payment gateway with WooCommerce, enabling customers in Cameroon to pay for their orders using:
- **MTN Mobile Money (MoMo)**
- **Orange Money**
The plugin provides seamless payment processing with automatic webhook notifications and comprehensive transaction verification.
## Features
- ✅ Support for MTN Mobile Money and Orange Money
- ✅ Secure webhook verification with HMAC signatures
- ✅ Automatic transaction status updates
- ✅ Email and WhatsApp notifications for payment status
- ✅ Bilingual error messages (English/French)
- ✅ Comprehensive error handling
- ✅ WooCommerce order notes integration
- ✅ Easy configuration through WooCommerce settings
## Requirements
- WordPress 5.8 or higher
- WooCommerce 6.0 or higher
- PHP 7.2.5 or higher
- Composer (for dependency management)
- Valid Smobilpay merchant account
## Installation
### Via Composer (Recommended)
1. Clone or download this repository to your WordPress plugins directory:
```bash
cd wp-content/plugins
git clone
github.com
```
2. Install dependencies:
```bash
cd wc-smobilpay
composer install
```
3. Activate the plugin through the WordPress admin panel:
- Go to **Plugins** → **Installed Plugins**
- Find "WooCommerce Smobilpay Gateway"
- Click **Activate**
### Manual Installation
1. Download the plugin files
2. Upload the `wc-smobilpay` folder to `/wp-content/plugins/`
3. Run `composer install` in the plugin directory
4. Activate the plugin through WordPress admin
## Configuration
### 1. MTN Mobile Money Setup
1. Navigate to **WooCommerce** → **Settings** → **Payments**
2. Click on **MTN Mobile Money**
3. Configure the following settings:
- **Enable/Disable**: Check to enable MTN MoMo payments
- **Title**: Payment method title (default: "MTN Mobile Money")
- **D …