Requirements
Before installing and using the WooMpesa plugin, ensure that you meet the following requirements.
System Requirements
- WordPress: Version 5.8 or higher
- WooCommerce: Version 6.0 or higher
- PHP: Version 7.4 or higher
- MySQL: Version 5.7 or higher
- SSL Certificate: Recommended for secure payment processing
M-Pesa API Requirements
To use WooMpesa, you need to obtain M-Pesa credentials from Safaricom. Ensure you have the following:
- Consumer Key: Provided by Safaricom after app registration.
- Consumer Secret: A secret key to authenticate API requests.
- Shortcode: The Paybill or Till number linked to your business.
- Passkey: Used for encrypting payment requests.
- Callback URL: A publicly accessible URL to receive payment notifications.
Tips
Ensure you have an active Safaricom Daraja Portal account to access your M-Pesa API credentials.
Hosting Requirements
- Server Type: Linux-based hosting (Recommended)
- PHP Extensions: Ensure the following extensions are enabled:
curl
(for API communication)json
(for data handling)mbstring
(for string handling)
Additional Prerequisites
- Access to your WordPress admin panel.
- An active WooMpesa license for plugin activation.
- Ability to edit environment variables if needed.