Title: DOKU Payment
Author: dokuplugin
Published: <strong>2024 年 12 月 10 日</strong>
Last modified: 2026 年 4 月 7 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/doku-payment/assets/icon-256x256.png?rev=3205212)

# DOKU Payment

 作者：[dokuplugin](https://profiles.wordpress.org/dokuplugin/)

[下载](https://downloads.wordpress.org/plugin/doku-payment.1.3.27.zip)

 * [详情](https://cn.wordpress.org/plugins/doku-payment/#description)
 * [评价](https://cn.wordpress.org/plugins/doku-payment/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/doku-payment/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/doku-payment/#developers)

 [支持](https://wordpress.org/support/plugin/doku-payment/)

## 描述

DOKU plugin offers a seamless, secure payment solution allowing your customers to
choose from various payment methods and complete transactions directly on your WooCommerce
store.

 * **Multiple Payment Methods**: Accept credit cards, bank transfers, e-wallets,
   and other methods.
 * **Seamless Checkout**: Deliver a fast and secure payment experience for your 
   customers.
 * **Customizable Checkout**: Tailor the checkout page to match your store’s branding
   and design.
 * **Sandbox/Production Mode**: Switch between test and live environments for smooth
   integration.

Refer to our [documentation](https://docs.doku.com/accept-payments/integration-tools/e-commerce-and-plugins/woocommerce-wordpress)
for more information and tips.

### Installation Overview

 1. Install the DOKU Payment plugin.
 2. Activate the plugin from the Plugins page in your WordPress dashboard.
 3. Configure DOKU Payment settings in WooCommerce and DOKU Dashboard.

### Requirements

 * WordPress 5.6 or higher
 * WooCommerce 4.9.0 or higher
 * PHP 8.2 or higher
 * MySQL 5.6 or higher

## 安装

Before installing **DOKU Payment**, ensure that **WooCommerce** is already installed
and activated on your WordPress site.

 1. Install DOKU payment from our WordPress plugin store or under Plugins menu – Add
    New Plugin in your WordPress dashboard
 2. Go to Plugins page, and activate DOKU Payment

After activation, follow these steps to configure the plugin:

### Step 1: Configure DOKU Payment in WooCommerce

 1. Go to **WooCommerce** (in sidebar) > **Settings** > **Payments** tab.
 2. Add debug log step for merchant to enable wp-config.php (file)
     `define('WP_DEBUG',
    true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false);
 3. Make sure **DOKU-Checkout** and **DOKU General-Configuration** are enable and click**
    Manage** on **DOKU General-Configuration**.
 4. Fill in the fields:
 5.  * Tick Enable DOKU
     * Choose **Sandbox** (for testing) or **Production** (for live payments).
     * **Client ID** and **Secret Key** (from your DOKU Dashboard).
     * Set the **Expiry Time** for payment sessions (in minutes).

### Step 2: Configure DOKU Dashboard

 1. Log in to your **DOKU Dashboard** for testing [https://sandbox.doku.com/bo/login](https://sandbox.doku.com/bo/login)
    for live payments [https://dashboard.doku.com](https://dashboard.doku.com)
 2. Navigate to **Settings** > **Payments Settings**
 3. Configure the payment methods you wish to accept, and for each channel, click **
    Configure**
 4. Copy the **Notification URL** from the WooCommerce settings and paste it into the
    corresponding payment channel settings in your DOKU Dashboard

This also applies to QRIS Notification URL. You may do so by going to QR Payment
page under Payment Settings section

## 常见问题

### Do I need to have a DOKU Merchant account to this plugin ?

Yes. Sign up on DOKU Business Account [Registration page](https://dashboard.doku.com).

### How do I get my API credentials (Client ID and Secret Key)?

To obtain your API credentials:

 1. Log in to your **DOKU Dashboard**.
 2. Navigate to **Settings** > **API Keys**.
 3. Your **Client ID** and **Secret Key** will be displayed here.

Copy these credentials and paste them into the WooCommerce DOKU Payment settings.

### Why do I have to configure notification URL ?

This step is important because it is where DOKU will notify WooCommerce to update
the payment status. If you don’t configure it in your dashboard, DOKU won’t be able
to send the payment status change to WooCommerce.

### How can I get support from DOKU?

For support, visit our [Help Center](https://help.doku.com/en/support/home) to read
FAQs, troubleshoot, or submit a support ticket.

## 评价

此插件暂无评价。

## 贡献者及开发者

「DOKU Payment」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ dokuplugin ](https://profiles.wordpress.org/dokuplugin/)

[帮助将「DOKU Payment」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/doku-payment)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/doku-payment/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/doku-payment/)，或通过[RSS](https://plugins.trac.wordpress.org/log/doku-payment/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/doku-payment/)。

## 更新日志

#### 1.3.27

Increased maximum length of IP column to 64 characters to support IPv6

#### 1.3.26

Change Integration Terms

#### 1.3.25

Enhancement Notification Flow

#### 1.3.24

Enhance Notification Process

#### 1.3.23

Enhance QRIS status notification

#### 1.3.22

Smooth Redirection to DOKU Checkout Page

#### 1.3.21

Added support for WC_Cart add fee to enable custom fee handling.

#### 1.3.20

Enhancement to allow optional phone number input

#### 1.3.19

Enhancement QRIS notification status

#### 1.3.18

Added new featured recover abandoned cart system.
 Customers can now recover their
carts even after the expiry time has passed.

#### 1.3.17

Improved readme formatting and updated documentation and code standardization.

1.3.16 –
 Fixing minor bug and adjust code to wordpress standards.

1.3.15 –
 DOKU Payment Support Tax and Fee for indodana.

1.3.14 –
 DOKU Payment compatible with WooCommerce Checkout Block.

## 额外信息

 *  版本 **1.3.27**
 *  最后更新：**2 月前**
 *  活跃安装数量 **300+**
 *  WordPress 版本 ** 2.2 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/doku-payment/)
 * 标签
 * [credit card](https://cn.wordpress.org/plugins/tags/credit-card/)[payment](https://cn.wordpress.org/plugins/tags/payment/)
   [payment gateway](https://cn.wordpress.org/plugins/tags/payment-gateway/)[woocommerce](https://cn.wordpress.org/plugins/tags/woocommerce/)
 *  [高级视图](https://cn.wordpress.org/plugins/doku-payment/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/doku-payment/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/doku-payment/reviews/)

## 贡献者

 *   [ dokuplugin ](https://profiles.wordpress.org/dokuplugin/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/doku-payment/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://doku.com/)