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
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
Log in to your Wordpress Dashboard
Navigate to Plugins > Add New Plugin
Search for DOKU Payment, then click Install Now
Go to WooCommerce > Settings > Payments tab
Make sure DOKU-Checkout and DOKU General-Configuration are enabled, then click Manage on DOKU General-Configuration.
Configure the following required fields:
Enable DOKU: Checkbox must be ticked
Environment
For testing transactions, select Sandbox
For processing real transactions, select Production
Sandbox Client ID: Client ID retrieved from DOKU Sandbox
Sandbox Secret Key: Secret Key retrieved from DOKU Sandbox
Production Client ID: Client ID retrieved from DOKU Dashboard
Production Secret Key: Secret Key retrieved from DOKU Dashboard
Expiry Time: Checkout page expiry time in minutes
If you skip this step, your payment status on Woocommerce Dashboard will not be synced with DOKU Dashboard
Copy the Notification URL from the WooCommerce settings (DOKU-General Configuration)
Log in to your DOKU Dashboard
For testing transactions, visit DOKU Sandbox
For processing real transactions, visit DOKU Dashboard
Navigate to Settings > Payments Settings, then go to each payment method settings page
Once payment notification has been configured, you can start accepting payments with DOKU.
By configuring your checkout page, you will be able to:
Show or hide, and sort payment methods for your customers Choose which payment methods (e.g., cards, e-wallets, and virtual accounts) tp appear on your checkout page. You can also reorder them based on your preference or customer behavior to optimize conversions.
Customize the interface Adjust the look and feel of your checkout page to align with your brand. This includes modifying button colors, fonts, logos, and layout to ensure a seamless and branded customer experience.
Set a default expiry time Define how long a payment session remains valid before it expires. This is useful for limiting pending transactions and encouraging quicker payments, especially for methods like virtual accounts or retail outlets.
Visit Customize Checkout Page for more detailed information.
Error log, also known as doku_log
, helps simplify the process of identifying issues related to the payment process when using the DOKU Plugin. If any issues arise while using the plugin, you can contact our support team and provide the doku_log
file to assist with troubleshooting. The doku_log
file records all transaction activity by date, regardless of the payment method used.
How to Enable and Access the doku_log:
Open the WooCommerce_dir
directory on your store’s web server.
Create a new folder named doku_log
in your store’s directory. This enables the plugin to automatically log activity to your web server.
Navigate to the doku_log
folder and open the log file corresponding to the date of the issue.
You can view or download the log file as needed.
If an issue occurs, please send the relevant doku_log
file to our support team. This helps us investigate and resolve the issue more efficiently.
Visit for instructions on how to retrieve integration credentials (Client ID and Secret Key)
Set up the payment notification URL for each payment method that you have activated. Visit for instructions
Please refer to the guide on to obtain your integration credentials.