OpenCart Plugin
Accept payments on your OpenCart store with Omise. Complete payment solution for OpenCart 3.x with support for all Omise payment methods.
Overviewâ
- OpenCart 3.x support
- Simple file upload installation
- All payment methods
- Multi-store support
- Automatic order updates
- Mobile-friendly checkout
Installationâ
Manual Installationâ
-
Download Plugin
- Visit GitHub releases
- Download latest version ZIP file
-
Upload Files
- Extract ZIP file
- Upload
upload/folder contents to OpenCart root - Merge with existing directories

- Install Extension
- Log in to OpenCart admin
- Navigate to Extensions â Extensions
- Select extension type: Payments

- Find "Omise Payment Gateway"
- Click Install button (green plus button)

Configurationâ
Basic Setupâ
Extensions â Extensions â Payments â Omise Payment Gateway â Edit
General Settings:
- Status: Enabled
- Test Mode: Yes (for testing)
API Keys:
- Public Key (Test): pkey_test_xxxxx
- Secret Key (Test): skey_test_xxxxx
After installation, click the blue pencil button to configure:

Enable the gateway in the settings page:

Enter your API keys in the configuration form:

Payment Methodsâ
Enable Methods:
Credit/Debit Cards:
â Enabled
â 3D Secure: Yes
Internet Banking:
â Enabled
E-Wallets:
â TrueMoney Wallet
â Rabbit LINE Pay
â ShopeePay
Installments:
â Enabled
â Minimum: THB 3,000
Webhook Setupâ
Webhook URL Format:
https://yourstore.com/index.php?route=extension/payment/omise/callback
Add to Omise Dashboard:
Settings â Webhooks â Add webhook
- URL: (webhook URL above)
- Events: charge.complete, charge.failed, refund.create
Testingâ
Test Environmentâ
Configuration:
â Test Mode: Enabled
â Test API keys entered
â Clear modification cache
Test Order:
1. Add product to cart
2. Checkout as guest or registered
3. Select Omise payment
4. Use test card: 4242 4242 4242 4242
5. Complete payment
6. Verify order status updated
Order Managementâ
View Payment Informationâ
Sales â Orders â View Order
Payment Information shows:
- Payment method used
- Omise charge ID
- Transaction amount
- Payment status
- Transaction date
Process Refundsâ
Manual Refund via Omise Dashboard:
- Log in to Omise Dashboard
- Find charge
- Click "Refund"
- Enter amount
- Confirm refund
- Update order in OpenCart manually
Note: OpenCart refunds don't automatically sync to Omise. Process refunds through Omise Dashboard.
Multi-Store Configurationâ
For multiple stores:
Store 1:
- System â Settings â Edit Store 1
- Use different API keys per store
- Configure payment methods per store
Store 2:
- Repeat configuration
- Independent settings
Customizationâ
Payment Method Orderâ
Extensions â Payments
Sort Order field:
- Omise: 1 (appears first)
- Other methods: 2, 3, etc.
Custom Templatesâ
catalog/view/theme/[your-theme]/template/extension/payment/omise.twig
Customize:
- Payment method display
- Form styling
- Button text
- Instructions
Language Stringsâ
catalog/language/[language]/extension/payment/omise.php
$_['text_title'] = 'ā¸ā¸ŗā¸Ŗā¸°āšā¸ā¸´ā¸ā¸āšā¸˛ā¸ Omise';
$_['text_card'] = 'ā¸ā¸ąā¸ā¸Ŗāšā¸ā¸Ŗā¸ā¸´ā¸/āšā¸ā¸ā¸´ā¸';
$_['text_internet_banking'] = 'ā¸ā¸´ā¸āšā¸ā¸ā¸Ŗāšāšā¸āšā¸āšā¸ā¸ā¸āšā¸ā¸´āšā¸';
Troubleshootingâ
Common Issuesâ
Extension not visible in payment methods:
Solution:
1. Clear OpenCart cache
2. Clear browser cache
3. Check extension installed correctly
4. Verify files uploaded properly
5. Check file permissions
Orders not updating:
Solution:
1. Verify webhook URL
2. Test webhook from Omise Dashboard
3. Check OpenCart error logs
4. Verify PHP version compatibility
5. Check mod_security not blocking
Payment redirects failing:
Solution:
1. Check SSL certificate valid
2. Verify return URLs configured
3. Test different payment method
4. Review OpenCart system logs
5. Check for conflicting extensions
Debug Modeâ
Enable OpenCart Debugging:
System â Settings â Edit store â Server tab
â Display Errors
â Log Errors
Check logs:
system/storage/logs/error.log
Securityâ
Best Practicesâ
â Use HTTPS only
â Keep OpenCart updated
â Use strong admin passwords
â Enable 3D Secure
â Regular backups
â Monitor suspicious orders
â Rotate API keys periodically
File Permissionsâ
Secure file permissions:
Files: 644
Directories: 755
config.php: 444
admin/config.php: 444
Performanceâ
Optimize Checkoutâ
â Enable OpenCart caching
â Minimize checkout steps
â Optimize images
â Use CDN
â Enable GZIP compression
Frequently Asked Questionsâ
Q: Which OpenCart versions are supported?
A: OpenCart 3.0.x is fully supported. For OpenCart 2.x, use the legacy version.
Q: Can I test before going live?
A: Yes, enable test mode and use test API keys for safe testing.
Q: How do I switch to live mode?
A: Disable test mode and enter live API keys in configuration.
Q: Are refunds automatic?
A: No, process refunds through Omise Dashboard and update OpenCart order manually.
Q: Can I use it with other payment methods?
A: Yes, enable multiple payment methods. Customers choose at checkout.
Q: Does it work with OpenCart extensions?
A: Generally yes, but test with your specific extensions for compatibility.
Q: How do I update the plugin?
A: Download latest version, backup store, upload new files, clear cache.
Q: Can customers save cards?
A: Card saving feature availability depends on plugin version. Check latest release notes.
Q: Is multi-currency supported?
A: Yes, configure currencies in OpenCart. Ensure currencies supported by Omise.
Q: What if I encounter errors?
A: Check error logs, verify configuration, test in sandbox, contact support if needed.
Next Stepsâ
- EC-CUBE Plugin - EC-CUBE integration
- Dashboard Guide - Manage payments
- Payment Methods - Payment options
Resourcesâ
Need help? Contact support@omise.co