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:
Access Token & API Secret (See how to generate)
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 here to download the ZIP file of the integration Kit.
For the Plugin to Opencart version 2.3X, go to GitHub from here and download the ZIP File.
We have readily available easy to integrate plugin for OpenCart Version 3.X. Click here 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 here 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 here 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 OpenCart.
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 Dashboard.
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.
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 here for testing purpose.
Go to Merchant Dashboard account (Live)
Navigate to Account drop down (Top Right corner) and 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.
In case of any query, please contact to email@example.com