sivehost / fossbilling-pesapal-mpesa
Pesapal MPESA Payment Gateway Module for FOSSBilling
Requires
- php: >=7.4
This package is auto-updated.
Last update: 2025-03-09 11:54:24 UTC
README
π FOSSBilling Mpesa Payment Module for Pesapal
Seamless payment processing for businesses in Kenya, Uganda, Tanzania, Malawi, Rwanda, Zambia, and Zimbabwe.
This module integrates Pesapal with FOSSBilling, enabling you to accept payments via credit cards, debit cards, and mobile money. Payments are settled directly into your local bank account.
π Supported Payment Methods
π² Mobile Money Payments
β
MPESA (Kenya, Tanzania)
β
Airtel Money (Multiple countries)
β
MTN Money
β
Vodacom MPESA
β
Tigo Pesa
π³ Card Payments
β
Visa
β
MasterCard
β
American Express
β
Diners Club
β
JCB Cards
π₯ Installation
1οΈβ£ Install via FOSSBilling Extension Directory
The easiest way to install this module is using the FOSSBilling extension directory.
- Upload the Mpesa.php file into /library/Payment/Adapter/ and then Go to FOSSBilling Admin Panel.
- Navigate to System β Payment Gateways.
- Search for Pesapal and click Install.
- Configure your API credentials and preferences.
2οΈβ£ Manual Installation
- Download the latest release from GitHub Releases.
- Create a new folder named Pesapal inside your FOSSBilling installation:
/library/Payment/Adapter/Pesapal/
- Extract the downloaded files into the new Pesapal directory.
- Go to Admin Panel β System β Payment Gateways.
- Find Pesapal under the "New Payment Gateway" tab.
- Click the cog icon to install and configure Pesapal.
βοΈ Configuration
Once installed, configure Pesapal in FOSSBilling:
π Enter API Credentials
- Navigate to System β Payment Gateways β Pesapal.
- Enter your Pesapal API Keys .
- Find these in your Pesapal Dashboard.
π§ Customize Preferences
- Enable sandbox mode for testing transactions before going live.
- Enable transaction logging for debugging.
β Save & Test
- Click Save Changes.
- Run a test transaction in sandbox mode.
- Once successful, switch to live mode to start accepting real payments.
π Why Use This Module?
β Fast & Secure: Accept payments in multiple currencies and payment methods.
β Easy Setup: Install in just a few clicks.
β Seamless Integration: Works directly with FOSSBillingβs invoicing system.
β Automatic Settlements: Funds are settled into your local bank account.
π€ Contributing
We welcome contributions! π
- Found a bug? Open an issue in GitHub.
- Want to improve the module? Submit a pull request.
To contribute:
git clone https://github.com/sivehost/fossbilling-pesapal-mpesa.git
cd fossbilling-pesapal-mpesa
git checkout -b feature-branch
Make your changes, commit, and submit a pull request.
π License
This module is licensed under the GNU General Public License v3.0.
See LICENSE for details.
π Support
For help, visit:
- Pesapal Developer Docs: https://developer.pesapal.com/
- FOSSBilling Community: https://fossbilling.org/
- Sive.Host Support: https://sive.host/
π’ Start Accepting Payments Today!
β‘ Download the latest version and get started! π