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:

  1. Online payment in various payment methods in almost all banks in Indonesia

  2. Fraud detection

  3. Email confirmation


Before you integrate your Magento store with DOKU, make sure that you have fulfilled the following requirements:

  1. Create a store with Magento

  2. 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

  3. PHP v7.4.0 or higher.

  4. MySQL v8.0 or higher

Integration Guide

Install DOKU Plugin for Magento

  1. Copy Jokul folder into your MAGENTO_DIR/app/code directory on your store's webserver.

  2. Run php bin/magento module:status. You should see Jokul_Magento2 on list of disabled modules.

  3. Run php bin/magento module:enable Jokul_Magento2

  4. Run php bin/magento setup:upgrade

  5. Run php bin/magento module:status again to ensure Jokul_Magento2 is enabled already.

  6. You should flush Magento cache by running php bin/magento cache:flush

  7. Compile Magento with newly added module by running php bin/magento setup:di:compile

  8. You may run flush Magento cache again php bin/magento cache:flushโ€‹

Plugin Setup

  1. Log in to your Magento Admin Panel

  2. Click Store > Configuration

  3. Click Sales > Payment Methods

  4. You will find "DOKU"

  5. Dropdown the arrow icon to see the details

  6. 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.

    • 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 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.

  7. Click Save Config button

  8. Go Back to Payments Tab

  9. 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.


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.

  1. Open your MAGENTO_DIR directory on your store's webserver.

  2. Create folder doku_log in your directory store's, so plugin will automatically track log in your store's webserver.

  3. Then check doku_log and open file in your store's webserver.

  4. You will see doku log file by date.

  5. And you can download the file.

  6. 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