Documentation Index
Fetch the complete documentation index at: https://docs.fyatu.com/llms.txt
Use this file to discover all available pages before exploring further.
This extension is coming soon. Join our waitlist to be notified when it’s released.
Accept payments from customers across Africa on your OpenCart store with the official Fyatu payment extension.
Requirements
- OpenCart 3.x or 4.x
- PHP 7.4 or higher
- SSL certificate (HTTPS)
Installation
Via OpenCart Extension Installer
- Download the
.ocmod.zip file from GitHub
- Go to Extensions > Installer in your OpenCart admin
- Click Upload and select the extension file
- Go to Extensions > Modifications and click Refresh
- Go to Extensions > Payments and install “Fyatu”
Manual Installation
- Download and extract the extension
- Upload the contents to your OpenCart root directory:
admin/ → /admin/
catalog/ → /catalog/
- Go to Extensions > Payments
- Find “Fyatu” and click Install
Configuration
Step 1: Get API Credentials
- Login to FYATU Dashboard
- Go to Business Console > Select Your App > Settings
- Copy your App ID and Secret Key
- Go to Extensions > Payments
- Find “Fyatu” and click Edit
- Configure the settings:
| Field | Description |
|---|
| Status | Enable/disable the payment method |
| Title | Name displayed at checkout |
| App ID | Your Fyatu App ID |
| Secret Key | Your Fyatu Secret Key |
| Webhook Secret | Secret for webhook verification |
| Test Mode | Enable sandbox environment |
| Order Status (Pending) | Status for pending orders |
| Order Status (Success) | Status for successful payments |
| Order Status (Failed) | Status for failed payments |
| Geo Zone | Restrict to specific regions |
| Sort Order | Display order at checkout |
- In your FYATU Dashboard, go to App Settings > Webhooks
- Add webhook URL:
https://yourstore.com/index.php?route=extension/payment/fyatu/webhook
- Copy the webhook secret to your extension configuration
Features
- OpenCart 4.x Support - Compatible with latest OpenCart
- Multi-Store - Different settings per store
- Order Tracking - Automatic order status updates
- Refund Support - Process refunds from admin
- Multi-Language - English and French translations included
- Journal Theme - Compatible with Journal 3 theme
Checkout Flow
Customer adds items to cart
↓
Customer proceeds to checkout
↓
Customer selects "Fyatu" payment
↓
Customer confirms order
↓
Customer redirected to Fyatu checkout
↓
Customer completes payment
↓
Customer redirected to success page
↓
Order status updated automatically
Order Statuses
Configure order statuses in the extension settings:
| Event | Recommended Status |
|---|
| Payment Pending | Pending |
| Payment Success | Processing |
| Payment Failed | Failed |
| Refund Complete | Refunded |
Multi-Store Setup
For OpenCart multi-store:
- Go to System > Settings
- Edit each store
- Configure Fyatu credentials per store
- Save changes
Refunds
To process a refund:
- Go to Sales > Orders
- Open the order to refund
- Click Fyatu Refund button
- Enter refund amount and reason
- Click Process Refund
Template Customization
Override templates in your theme:
OpenCart 3.x:
/catalog/view/theme/YOUR_THEME/template/extension/payment/fyatu.twig
OpenCart 4.x:
/catalog/view/theme/YOUR_THEME/template/extension/fyatu/payment/fyatu.twig
Events
The extension triggers OpenCart events:
| Event | Description |
|---|
fyatu/payment/before | Before redirect to checkout |
fyatu/payment/success | After successful payment |
fyatu/payment/failed | After failed payment |
fyatu/refund/success | After successful refund |
Listen to Events
// In your extension's admin/controller
$this->load->model('setting/event');
$this->model_setting_event->addEvent(
'my_module',
'catalog/model/extension/payment/fyatu/success/after',
'extension/module/my_module/onFyatuSuccess'
);
OCMOD Modifications
The extension uses OCMOD for non-destructive modifications. View applied modifications:
- Go to Extensions > Modifications
- Find “Fyatu Payment” entries
- Click Refresh after any changes
Troubleshooting
Extension not appearing at checkout
- Verify extension status is “Enabled”
- Check Geo Zone restrictions
- Clear OpenCart cache: Dashboard > Blue gear icon
Webhook not working
- Verify webhook URL is correct
- Check that
.htaccess allows the webhook route
- Test webhook URL directly in browser (should show error for GET)
Payment stuck on pending
- Check webhook delivery in Fyatu Dashboard
- Verify order status mappings are correct
- Check extension logs if debug enabled
Debug Mode
Enable logging for troubleshooting:
- Edit extension settings
- Enable Debug Mode
- Logs written to
/system/storage/logs/fyatu.log
# View logs
tail -f /system/storage/logs/fyatu.log
vQmod Support
For vQmod users (OpenCart 2.x compatibility):
- Download the vQmod version from GitHub
- Upload
fyatu.xml to /vqmod/xml/
- Clear vQmod cache
Resources