Requirements
- OpenCart 3.x or 4.x
- PHP 7.4 or higher
- SSL certificate (HTTPS)
Installation
Via OpenCart Extension Installer
- Download the
.ocmod.zipfile 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
Step 2: Configure the Extension
- 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 |
Step 3: Configure Webhooks
- 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
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: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
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
.htaccessallows 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
vQmod Support
For vQmod users (OpenCart 2.x compatibility):- Download the vQmod version from GitHub
- Upload
fyatu.xmlto/vqmod/xml/ - Clear vQmod cache
Resources
- OpenCart Documentation
- Fyatu API Reference
- GitHub Repository (Coming soon)

