OpenCart
OpenCart is an open source PHP-based online shopping cart system. A robust e-commerce solution for Internet merchants with the ability to create their own online business and participate in e-commerce at a minimal cost. OpenCart is designed feature rich, easy to use, search engine friendly and with a visually appealing interface.
Requirements
Before you integrate Opencart with DOKU, make sure that you have fulfilled the following requirements:
Create a store with OpenCart
Create a DOKU Business Account
OpenCart v3.0.3 or higher. This plugin is tested with OpenCart v3.0.3.6
PHP v5.4 or higher
MySQL v5.0 or higher
Integration Guide
Install DOKU Plugin for OpenCart
Download DOKU Plugin for OpenCart
Copy all the source code
Jokul
folder into yourOpenCart root folder
and merge it.Go to OpenCart Administration Page, choose Menu
Extensions
>Extensions
.Choose
Payment
FilterScroll down and Choose
Jokul - General Configuration
Click
Install
and you can configure the Plugin.
Plugin Setup
Login to your OpenCart Admin Panel
Click
Extensions
>Extensions
Choose
Payment
FilterYou will find "Jokul - General Configuration"
Click
Enabled
and Edit the PluginHere are the fileds that you are required to set:
Environment:
For testing purposes, select Sandbox.
Sandbox Client ID: Client ID you retrieved from DOKU Sandbox
Sandbox Secret Key: Secret Key you retrieved from DOKU Sandbox
For accepting real payments, select Production.
Production Client ID: Client ID you retrieved from DOKU Dashboard
Production Secret Key: Secret Key you retrieved from DOKU Dashboard
Notification URL: Copy and paste your notification URL into the DOKU Dashboard. Learn how to setup Notification URL here.
Click Save Config button
Go Back to Payments Tab
Now your customer should be able to see the payment methods and you start accepting payments
Tips
Error Log (doku_log)
Error log or doku_log
is useful to help simplify the process of checking if an issue occurs related to the payment process using the DOKU Plugin. If there are problems or problems using the plugin, you can contact our team by sending this doku_log file. doku_log
will record all transaction processes from any payment method by date.
Open your
opencart
directory on your store's webserver.Create folder
doku_log
in your directory store's, so plugin will automatically track log in your store's webserver.Then check
doku_log
and open file in your store's webserver.You will see
doku log
file by date.And you can download the file.
If an issue occurs, you can send this
doku_log
file to the team to make it easier to find the cause of the issue.
Last updated