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:
Create a website with WordPress
Create a DOKU Business Account
WordPress 5.6 or higher. This plugin is tested with Wordpress 6.2
WooCommerce 4.9.0 or higher. This plugin is tested with WooCommerce v7.2.1
PHP v5.6 or higher
MySQL v5.6 or higher
Integration Guide
Install DOKU Plugin for WooCommerce
Download DOKU Plugin for WooCommerce
Extract the plugin and compress the folder "woo-doku-jokul" into a ZIP file
Log in to your WordPress Admin Panel
Go to Plugins > Add New
Click Upload Plugin and select the ZIP file
Click Install Now
Click Activate the plugin
Plugin Setup
Log in to your WordPress Admin Panel
Click Module > Settings
Click Payments tab
You will find "Jokul - General Configuration"
Toggle the Enabled to ON
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.
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 Notifications: You can send an email that contains the guide on how to complete the payment of using certain payment methods.
Click Save Changes button
Go Back to Payments Tab
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.
Open your
WooCommerce_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