🇲🇾 WooCommerce Integration
Integration Guide for WooCommerce users in Malaysia
Integration Guide
This integration guide consists of 4 mandatory steps:
Download WooCommerce 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
Log in to your DOKU Dashboard
Go to Integration from the side navigation bar, select WooCommerce
Click Download button
Or directly download the file using the below link:
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
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)
Log in to your DOKU Dashboard
For testing transactions, visit DOKU Sandbox
For processing real transactions, visit DOKU Dashboard
Navigate to Settings > Webhook, and create webhook
Description: WooCommerce Webhook
URL Endpoint: Notification URL from step 1
Payment Channel: Select all payment methods.
If you have Card payments activated, Navigate to Settings > Credit Card
Go to Payment Configuration tab
Paste the Notification URL in the Payment Notification URL section
Click Submit
Last updated
Was this helpful?
