Omise’s payment extension for OpenCart diminishes your daily tasks by automating the entire payment process. The extension allows you to accept payment through credit or debit card directly on your site without having to write a single line of code, or the customer being redirected offsite.
Get the source code repository at github.com/omise/omise-opencart
Requirements and Installation:
OpenCart Version Compatibility
- OpenCart 18.104.22.168
- Omise-PHP (v2.1.2)
- jQuery (v1.7.1 from OpenCart (v22.214.171.124)'s dependency)
- vqmod (v2.5.1 with OpenCart integration edition)
Here's what to do:
/omise-opencart/srcand copy all files to your OpenCart Project
Open your OpenCart site and go to the
Payments(from the top menu), in the payment extension list page
Omise Payment Gateway and click Install
Provided that all went well,
Omise will appear on the top right of your admin page.
Permissions must be set so that omise-opencart can overwrite the following files:
It also creates new folders and files on
your-opencart(root)/ directory for the first installation.
Ensure these 2 files and folder have appropriate
write permissions (usually
Omise Keys Setup
In order to use omise-opencart you have to first link it to your Omise account using your credentials:
Fill in and save your
Omise Keys. If you'd like to test our service and learn how things work, you can do so by clicking
Enable test mode. This puts your test keys in use. Note that the set of keys you use determines whether actual money will be transferred or not.
The Module config allows you to enable or disable our payment gateway on your OpenCart site.
Checking out with Omise
After setting up your Omise keys, you can now start checking out with Omise Payment Gateway. In order to test it, make sure you set up your test keys and enable test mode.
Start off by heading over to your website and add items to the shopping cart.
From the cart, go through the regular checkout procedure. Pay attention to step 5 Payment Method
You'll find Credit Card (Powered by Omise). Select it and check
I have read and agree to the terms & conditions.
You'll be asked to fill out the form with card details. For those in test mode, you can select a test card from our docs.
Once complete, you'll be redirected to the following page.
Over at the
admin dashboardyou'll find the order marked as
Note: During authorization (a very short period!), the order status will be marked as
As there's no method of automatically checking whether
vQmod is being used by another extension or not, it is required that you manually uninstall the plugin from your server source code. Follow these steps:
- Uninstall the extension via the extension list page
- Remove the vQmod folder from your OpenCart directory
1. Uninstall Omise Payment Gateway extension
Open your OpenCart website and go to the
Omise Payment Gatewayand click Uninstall
Omise will disappear from the top right of your admin page.
2. Removing vQmod library
Make sure that you're not using
vQmod in other extensions. If you're uncertain, it's alright to leave it there. It won't do any harm to your site.
In your OpenCart directory you'll find the
vqmodfolder. Remove it
omise-opencart/backupand restore the backup files.
Copy and paste them to your OpenCart site