WooCommerce (WordPress)

WooCommerce is a WordPress plugin that transforms a WordPress website into a fully functional e-Commerce platform. WooCommerce enables website owners to set up online stores with ease. It provides a range of features for managing products, inventory, orders, and payments, making it a popular choice for businesses and individuals looking to establish an online presence for selling goods or services. With WooCommerce, users can customize their online stores and leverage various extensions and themes to enhance the functionality and appearance of their e-Commerce websites.


Requirements

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

  1. Create a website with WordPress

  2. WordPress 5.6 or higher. This plugin is tested with Wordpress 6.2

  3. WooCommerce 4.9.0 or higher. This plugin is tested with WooCommerce v7.2.1

  4. PHP v5.6 or higher

  5. MySQL v5.6 or higher


Integration Guide

Install DOKU Plugin for WooCommerce

  1. Extract the plugin and compress the folder "woo-doku-jokul" into a ZIP file

  2. Log in to your WordPress Admin Panel

  3. Go to Plugins > Add New

  4. Click Upload Plugin and select the ZIP file

  5. Click Install Now

  6. Click Activate the plugin

Plugin Setup

  1. Log in to your WordPress Admin Panel

  2. Click Module > Settings

  3. Click Payments tab

  4. You will find "Jokul - General Configuration"

  5. Toggle the Enabled to ON

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

  • 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 Notifications: You can send an email that contains the guide on how to complete the payment of using certain payment methods.

  1. Click Save Changes button

  2. Go Back to Payments Tab

  3. Now your customer should be able to see the payment methods, and you start accepting payments


Payment Method Configuration

DOKU Checkout

To show the Checkout options to your customers, simply toggle the payment method that you wish to show. DOKU Checkout allows you to accept payments from various DOKU payment methods. You can enable or disable the payment method that you want to show in your store view in DOKU Dashboard Configuration.

You can also click Manage to edit how the Checkout payment methods will be shown to your customers by clicking the Manage button. Below you can update the QRIS Credential that youre already get from our Support Team.


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.

  1. Open your WooCommerce_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