WooCommerce (WordPress)
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
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.7.2
WooCommerce 4.9.0 or higher. This plugin is tested with WooCommerce v8.0.0
PHP v5.6 or higher
MySQL v5.6 or higher
Install DOKU payment from our WordPress plugin store or under Plugins menu > Add New Plugin in your WordPress dashboard
Go to Plugins page, and activate DOKU Payment
Go to WooCommerce (in sidebar) > Settings > Payments tab.
Make sure DOKU-Checkout and DOKU General-Configuration are enable and click Manage on DOKU General-Configuration.
Fill in the fields:
Tick Enable DOKU
Choose Sandbox (for testing) or Production (for live payments).
Client ID and Secret Key (from your DOKU Dashboard).
Set the Expiry Time for payment sessions (in minutes).
Log in to your DOKU Dashboard
For testing https://sandbox.doku.com/bo/login
For live payments https://dashboard.doku.com
Navigate to Settings > Payments Settings
Configure the payment methods you wish to accept, and for each channel, click Configure
Copy the Notification URL from the WooCommerce settings(DOKU-General Configuration) and paste it into the corresponding payment channel settings in your DOKU Dashboard
This also applies to QRIS Notification URL. You may do so by going to QR Payment page under Payment Settings section
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.