Payments & Billing
Configure payment gateways and manage transactions with mobile money integration.
Supported Payment Methods
PesaPal
Mobile Money (MTN MoMo, Airtel Money), Card payments, Bank transfers
Vouchers
Pre-generated voucher codes for offline sales and distribution
PesaPal Configuration
- Create a PesaPal merchant account at pesapal.com
- Get your API credentials from the PesaPal dashboard
- Go to Settings → Payments
- Enter your credentials:
Consumer Key
Your PesaPal Consumer Key from the merchant dashboard
Consumer Secret
Your PesaPal Consumer Secret (keep this private)
IPN ID
Instant Payment Notification ID for callbacks
Sandbox Mode
Enable for testing (disable for production)
Important
Register your IPN callback URL in the PesaPal dashboard before going live. Without this, payment confirmations won't be received.
Payment Flow
Customer → Captive Portal → Select Package → Enter Phone
↓
Mobile Money Prompt → Customer Enters PIN
↓
PesaPal → Payment Confirmed → IPN Callback
↓
System → Create/Extend Customer Account
↓
SMS → Send Login Credentials
↓
Customer → Connected to Internet
Viewing Payments
Go to Finance → Payments to see all transactions:
- Filter by date range
- Filter by payment status
- Filter by payment method
- Search by customer or transaction ID
Payment Status
Pending
Waiting for payment confirmation from gateway
Completed
Payment successful, account activated
Failed
Payment was not successful
Cancelled
Payment was cancelled by user
Manual Payments
For cash or other offline payments:
- Go to Finance → Payments
- Click Record Payment
- Select the customer and package
- Enter payment details
- The account is activated immediately
Voucher System
Generating Vouchers
- Go to Finance → Vouchers
- Click Generate Vouchers
- Select package and quantity
- Vouchers are created with unique codes
Printing Vouchers
- Select vouchers to print
- Choose print layout (cards, list)
- Print for distribution to resellers
Activating Vouchers
Customers can activate vouchers on the captive portal:
- Connect to WiFi
- Enter voucher code on captive portal
- Account is activated immediately
Reports
Available financial reports:
- Daily/Weekly/Monthly revenue
- Payment method breakdown
- Package sales analysis
- Customer acquisition trends
Troubleshooting
Payment Not Confirmed
Common Issues
- Check if IPN callback URL is correctly registered
- Verify PesaPal credentials are correct
- Check server logs for callback errors
- Contact PesaPal support if issues persist
Account Not Activated After Payment
- Check if payment status is "Completed"
- Verify the customer record was created
- Check RADIUS for authentication issues
- Manually activate if needed