🇲🇾 WooCommerce Integration
Integration Guide for WooCommerce users in Malaysia
Integration Guide
This integration guide consists of 4 mandatory steps:
Download Woocomerce Plugin
Install DOKU Plugin on WooCommerce
Configure DOKU Payment in WooCommerce
Set Up Payment Notification on DOKU Dashboard
Step 1: Download WooCommerce Plugin

Download the Zip file from the Woocommerce Integration page
Login to DOKU dashboard
Go to Integration from the side bar, choose Woocomerce
Click on Download button
Step 2: Install DOKU Plugin on WooCommerce

Before installing DOKU Payment, ensure that WooCommerce is already installed and activated on your WordPress site.
Go to Plugins from the sidebar then click on Add Plugin -> Upload Plugin
Upload the Zip File (from step 1) -> Install Now - > Activate
Step 3: Configure DOKU Payment in WooCommerce

Go to WooCommerce (in sidebar) > Settings > Payments tab.
Make sure DOKU Integration and DOKU Payments are enabled and click Manage on DOKU Integration
Configure the following required fields:
Enable DOKU: Checkbox must be ticked
Environment
For testing transactions, select Sandbox
For processing real transactions, select Production
Credential
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
Enter the Client ID and Secret Key that match the selected environment. Leave the credential fields for other environments empty.
Expiry Time: Checkout page expiry time in minutes
Abandoned Checkout: Checkout link can be extended past expiry time if toggled on
Duration Abandoned Checkout: Maximum time the checkout link stays active after expiration
Visit API Keys for instructions on how to retrieve integration credentials (Client ID and Secret Key)
For Malaysia sandbox account, register at DOKU Sandbox Registration
Step 4: Set Up Payment Notification on DOKU Dashboard
If you skip this step, your payment status on WooCommerce Dashboard will not be synced with DOKU Dashboard

Copy the Notification URL inside the DOKU Integration Settings (Woocomerce Dashboard)
Head to your DOKU dashboard
Sandbox or Production
Go to settings -> Webhook - > create Webhook
Paste the Notification URL in the URL section
Choose the payment method you want to be configured
Click Save
You can use the ....doku/notification endpoint for all payment methods (including QRIS) if you are using WooCommerce version 1.3.26 and above.
Last updated