Skip to main content

DOKU

DOKU is a leading payment gateway in Indonesia. Connecting it lets your clients pay invoices, bookings, plans and store orders with the payment methods you enable in DOKU. You need your DOKU Client ID and Secret Key, and you paste a Notification URL from Whautomate into DOKU so payments are confirmed automatically.

Available withBookings or SalesIncluded in the Complete plan.Plans and modules

Before you start​

  • You need the Administrator or Owner role.
  • Have access to your DOKU Back Office.

Connect DOKU​

  1. Go to Settings > Finance > Payment Gateways (or Integrations and click Connect on the Doku card).

    The Integrations page with the Doku card highlighted
  2. On the Doku row, click Configure Doku. The Doku Configuration page opens.

  3. In your DOKU Back Office, go to Settings > API Keys and copy your Client ID and Secret Key.

  4. Paste them into Doku Client ID and Doku Secret Key.

  5. Under Notification URL, click Copy to copy your Notification URL.

  6. In the DOKU Back Office, set this as the Notification URL for every payment method you enable. DOKU explains where in its Notification URL setup guide.

  7. Back in Whautomate, click Save.

Doku Configuration form with Client ID, Secret Key and the Notification URL with a Copy button

You see "Doku Gateway settings saved." The Doku row on Payment Gateways now shows Edit Configuration and Disconnect Doku.

Test it​

  1. Create a small invoice for yourself and tick Request payment via WhatsApp, then Save and Send.
  2. Open the WhatsApp message and tap the payment button.
  3. Pay with a DOKU payment method. The invoice changes to Paid once DOKU sends its notification.

Update or disconnect​

  • Click Edit Configuration to change keys, then Update.
  • Click Disconnect Doku and confirm to stop taking payments with DOKU.

Troubleshooting​

  • Invoice stays Sent after payment: check that the Notification URL is set for the payment method the client used.
  • Payment page shows an error: check the Client ID and Secret Key belong to the same DOKU environment.