Prerequisites
Before you begin, make sure you have:- WordPress 5.0 or higher
- WooCommerce 4.0 or higher
- PHP 7.4 or higher
- A Yabetoo merchant account with API keys
- SSL certificate installed (HTTPS required)
Installation
Method 1: WordPress Plugin Directory (Recommended)
- Go to your WordPress admin dashboard
- Navigate to Plugins > Add New
- Search for “Yabetoo Payment Gateway”
- Click Install Now, then Activate
Method 2: Manual Installation
- Download the plugin from Yabetoo Dashboard
- Go to Plugins > Add New > Upload Plugin
- Select the downloaded ZIP file
- Click Install Now, then Activate
Configuration
Step 1: Access Plugin Settings
- Go to WooCommerce > Settings
- Click on the Payments tab
- Find “Yabetoo” and click Manage
Step 2: Configure API Keys
Step 3: Configure Webhook
- In your Yabetoo Dashboard, go to Developers > Webhooks
- Add a new webhook with URL:
https://yourstore.com/?wc-api=yabetoo_webhook - Select events:
intent.completed,disbursement.completed - Copy the webhook secret and paste it in the plugin settings
Step 4: Test the Integration
- Keep the environment set to Sandbox
- Create a test order on your store
- Complete payment using test phone numbers
- Verify the order status updates correctly
Test Phone Numbers
Use these phone numbers in sandbox mode:| Phone Number | Country | Operator | Result |
|---|---|---|---|
| 242066594470 | Congo | MTN | Success |
| 242055000001 | Congo | Airtel | Success |
| 237670000001 | Cameroon | MTN | Success |
| 237650000001 | Cameroon | Orange | Success |
Going Live
Once testing is complete:- Log into your Yabetoo Dashboard
- Complete the account verification process
- Get your production API keys
- Update the plugin settings:
- Replace test keys with production keys
- Change environment to Production
- Update webhook URL to use production endpoint
Features
Supported Payment Methods
- MTN Mobile Money - Congo, Cameroon, Ivory Coast
- Airtel Money - Congo, Gabon
- Orange Money - Cameroon, Ivory Coast
Order Management
The plugin automatically:- Updates order status when payment is confirmed
- Sends order confirmation emails
- Records payment details in order notes
- Handles webhook notifications
Customization Options
| Setting | Description |
|---|---|
| Title | Payment method name shown at checkout |
| Description | Text displayed under payment method |
| Button Text | Customize the pay button text |
| Logo | Display Yabetoo or operator logos |
Troubleshooting
Payment Not Processing
- Verify API keys are correct
- Check SSL certificate is valid
- Ensure webhook URL is accessible
- Review WooCommerce logs at WooCommerce > Status > Logs
Webhook Not Receiving Events
- Verify webhook URL is correct in Yabetoo Dashboard
- Check your server allows POST requests
- Ensure webhook secret matches in both places
- Test webhook connectivity from Dashboard
Order Status Not Updating
- Check webhook is configured correctly
- Verify webhook secret matches
- Review PHP error logs
- Ensure WooCommerce is up to date
Hooks and Filters
Developers can customize the plugin behavior:Frequently Asked Questions
Which WooCommerce versions are supported?
Which WooCommerce versions are supported?
The plugin supports WooCommerce 4.0 and higher. We recommend keeping WooCommerce updated to the latest version.
Can I use Yabetoo with other payment gateways?
Can I use Yabetoo with other payment gateways?
Yes, Yabetoo works alongside other payment gateways. Customers can choose their preferred payment method at checkout.
How do refunds work?
How do refunds work?
Refunds can be initiated from the WooCommerce order page. The refund will be processed through Yabetoo and returned to the customer’s mobile money account.
Is the plugin compatible with WordPress Multisite?
Is the plugin compatible with WordPress Multisite?
Yes, the plugin can be activated on individual sites within a WordPress Multisite network.
Support
Need help? Contact us:- Email: [email protected]
- Plugin documentation: Developer Tools
- API documentation: API Reference