Adobe Commerce (Magento)
Adobe Commerce (Magento) is an e-Commerce platform built on open source technology which provides online merchants with a flexible shopping cart system, as well as control over the look, content and functionality of their online stores. Magento offers powerful marketing, search engine optimization, and catalog-management tools. Magento's ability to scale allows shops with only a few products and simple needs to easily expand to tens of thousands of products and complex custom behavior without changing platforms. The features available in the Magento plugin are:
Online payment in various payment methods in almost all banks in Indonesia
Fraud detection
Email confirmation
Requirements
Before you integrate your Magento store with DOKU, make sure that you have fulfilled the following requirements:
Create a store with Magento
Create a DOKU Business Account
Magento v2.3 or higher. This plugin is tested with Magento v2.3.4, v.2.3.6, v.2.4.0, v.2.4.1
PHP v7.4.0 or higher.
MySQL v8.0 or higher
Integration Guide
Install DOKU Plugin for Magento
Download DOKU Plugin for Magento
Copy
Jokul
folder into yourMAGENTO_DIR/app/code
directory on your store's webserver.Run
php bin/magento module:status
. You should seeJokul_Magento2
on list of disabled modules.Run
php bin/magento module:enable Jokul_Magento2
Run
php bin/magento setup:upgrade
Run
php bin/magento module:status
again to ensureJokul_Magento2
is enabled already.You should flush Magento cache by running
php bin/magento cache:flush
Compile Magento with newly added module by running
php bin/magento setup:di:compile
You may run flush Magento cache again
php bin/magento cache:flush
Plugin Setup
Log in to your Magento Admin Panel
Click Store > Configuration
Click Sales > Payment Methods
You will find "DOKU"
Dropdown the arrow icon to see the details
Here are the fileds that you 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
Expiry Time: Input the expiration time in minutes.
Notification URL: Copy and paste your notification URL into the DOKU Dashboard. Learn how to setup Notification URL here.
QRIS Notification URL: Copy and paste your notification URL and contact care@doku.com to set up your QRIS notification URL. This payment method is only supported if you are using DOKU Checkout as a method of integration.
Email Sender Adress: You can fill this coloumn with your email address. This will later be used as info to send notifications to your customers.
Email Sender Name: You can fill this coloumn with your name. This will later be used as info to send notifications to your customers.
BCC Email Adress: You can fill this coloumn other email adress. This will later be used to send notifications to your customers.
Email Notifications: You can send an email that contains the guide on how to complete the payment of using certain payment methods.
Click Save Config button
Go Back to Payments Tab
Now your customer should be able to see the payment channels and you start receiving payments
DOKU Checkout Configuration
To show payment methods from DOKU Checkout to your customers, simply toggle the channel that you wish to show. DOKU Checkout allows you to accept payments from various DOKU payment methods. You can enable or disable the payment channel that you want to show in your store view in DOKU Dashboard via Page Configuration.
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
MAGENTO_DIR
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