OpenCart
Last updated
Was this helpful?
Last updated
Was this helpful?
OpenCart is one of the best eCommerce platform that was built to make online stores. It has had all ever need features and been highly recommended for small and medium size ecommerce businesses.
Integrating your OpenCart site with PayKun allows you to accept payments on your OpenCart site via the PayKun Payment Gateway. Collecting online payments can be very easy with PayKun. You can provide multiple payment options to your customer and a great checkout experience. Also, they will get all sorts of payment option that will make them buy on the spot.
Following things will be required before you can begin integration:
Merchant ID
Access Token & API Secret ()
Opencart Version 2.X , 2.3.x, 3.X, 1.5.x Integration
For the Opencart version 2.X, we have the ready Plugin available. Click to download the ZIP file of the integration Kit.
For the Plugin to Opencart version 2.3X, go to GitHub from and download the ZIP File.
We have readily available easy to integrate plugin for OpenCart Version 3.X. Click to download the ZIP file for the 3.X version and follow the below given easy integration steps.
If you are using Opencart 1.5.X, download the ZIP File from and continue with the below-provided easy steps for integration.
Download the latest Source code zip file of the required version of the plugin from and extract it to some temporary location.
Now copy the directory admin, catalog, system folder from the extracted zip.
Replace this directories on the location yourwebsite-opencart-installed-path/override admin directory and other too.
Now login to the admin panel and do the same as given in the screenshots below.
Log into .
Navigate to the Admin Panel then to Extensions and Payments and install the PayKun gateway extension.
Click Edit next to PayKun and do the following:
Enter your PayKun Merchant ID, Access Token & Encryption Key. These can be generated from your .
Change extension status to Enabled
Click Save to save the extension settings.
Now you will be able to see Paykun Payment method in the checkout page.
‘Go to’ the Merchant Account under the ‘Payment Gateway’ section (If you are first-time-login then you will see the ‘Become a Merchant’ option.)
After the merchant account login, click on your profile picture.
Select ‘Test mode’.
Select "Generate Sandbox Account" to activate your sandbox account
After activating sandbox account,you can click on "Sandbox Login" button to go to sandbox dashboard and use generated username and password login.
Now you have to generate your Device API key from sandbox account from Setting-Security tab.
You can get you Merchant Id clicking on profile icon from top right corner.
Now you have to use this API key and Merchant ID in your Demo project for testing purposes. Note: Remember that you can login in Sandbox account from your Live account.
If you want to do real transaction than set "isLive" parameter to true and use your Live MerchantId and AccessToken from Paykun dashboard.
If you need it for testing purposes you should login in Paykun dashboard using sandbox mode and get your testing and
To test your integration in sandbox environment before going like, you can use our test environment (See how to create one) and use your test credentials, You just have to use isLive=false in your integration, You can use test card details provided for testing purpose.
to your PayKun Dashboard
In case of any query, please contact to