🇮🇩 WooCommerce Integration
Integration Guide for WooCommerce users in Indonesia
Integration Guide
This integration guide consists of 3 mandatory steps:
Install DOKU Plugin on WooCommerce
Configure DOKU Payment in WooCommerce
Set Up Payment Notification on DOKU Dashboard
Step 1: Install DOKU Plugin on WooCommerce

Log in to your Wordpress Dashboard
Navigate to Plugins > Add New Plugin
Search for DOKU Payment, then click Install Now
Step 2: Configure DOKU Payment in WooCommerce

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
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 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)
Step 3: 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 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

Set up the payment notification URL for each payment method that you have activated using the notification URL that you have copied earlier from the WooCommerce settings. Visit Webhook / Payment Notification for detailed instructions
Once payment notification has been configured, you can start accepting payments with DOKU.
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