WooCommerce DianDianPay Payment Gateway Plugin
WooCommerce DianDianPay is a modern, secure, and stable credit card payment plugin developed by the DianDianPay team specifically for WooCommerce, designed to provide global merchants with convenient online payment solutions.
Current Version Information
- Plugin Version: 1.0.0
- Download Link: Click to Download Plugin ZIP File
System Compatibility
- Minimum WordPress Version: 5.6
- Tested WordPress Version: 6.6
- WooCommerce Support: Fully compatible with the latest WooCommerce version
Plugin Features
- Credit card online payment support
- Built-in 3D Secure (3DS) verification mechanism
- Sandbox testing environment and production environment switching
- Multi-language support (automatically switches based on WordPress language, includes Chinese and English language packs)
- Supports WooCommerce Blocks and classic checkout pages
- Simple and intuitive backend configuration for quick integration
Installation Methods
You can install this plugin through any of the following methods:
Upload Installation via WordPress Admin
Log in to WordPress admin, go to Plugins > Add New page
Click the Upload Plugin button at the top
Select and upload the plugin's ZIP file (click Install)
After installation, click Activate Plugin
Go to WooCommerce > Settings > Payments, enable DianDianPay
Enter the plugin to fill in relevant merchant configuration information
Configuration Guide
Enable/Disable
Whether to enable the DianDianPay payment gateway. When checked, this payment method will be displayed on the checkout page.
3D Secure Toggle
Whether to force enable 3D Secure (3DS) verification.
- Unchecked: Payment channel determines whether to enable 3DS based on card organization rules;
- Checked: All transactions will be forced through 3DS verification process, enhancing transaction security.
Environment
Set the plugin's interface environment:
- Test Environment (sandbox): For development, debugging, and testing.
- Production Environment (live): For official payment collection, please ensure merchant information is correctly configured.
Payment Title
The payment method title seen by users on the checkout page, such as "Credit Card". Can be customized according to brand or requirements.
Payment Description
The description text of this payment method seen by users on the checkout page, for example, "Complete payment using DianDianPay credit card."
Merchant ID
Unique merchant number assigned by DianDianPay platform, used to identify merchant identity. This value must be correctly filled in.
Merchant Private Key
Merchant's RSA private key, used for signing request parameters to ensure requests are not tampered with. Please keep it secure and do not disclose.
Merchant Public Key (Optional)
Used for data encryption or identity verification in certain interfaces. If required by business scenarios, please fill in the corresponding RSA public key.
DianDianPay Public Key
RSA public key provided by DianDianPay platform, used to verify response data signatures and ensure data source credibility.
Configuration Tutorial
Please follow these steps to complete the plugin configuration to ensure normal operation of payment functions:
Step 1: Enable Payment Gateway
- Go to WordPress Admin > WooCommerce > Settings > Payments, find "DianDianPay";
- Check the "Enable/Disable" option to enable this payment method, which will be visible to users on the checkout page.
Step 2: Fill in Merchant ID
Merchant ID is assigned by DianDianPay;
Log in to DianDianPay Merchant Backend, click the settings icon in the top right, then navigate to:
Merchant > Account Settings > Account ID
Copy this ID and paste it into the plugin's "Merchant ID" field.
Step 3: Generate and Fill in Merchant Keys
- Visit the official key generation tool: https://docs.diandianpay.com/zh/rsa.html
- Generate RSA key pair online;
- Fill the generated private key into the plugin's "Merchant Private Key" field;
- Fill the generated public key into the plugin's "Merchant Public Key" field.
Step 4: Configure Merchant Public Key in DianDianPay Backend
Log in to DianDianPay backend, navigate to:
Developer Configuration > API Key Configuration > Merchant Public Key
Paste the public key generated in the previous step and save the configuration.
Step 5: Fill in DianDianPay Public Key
- The public key provided by DianDianPay platform is used for signature verification, please fill this public key into the plugin's "DianDianPay Public Key" field;
- Contact DianDianPay technical support if unclear.
Step 6: Enable 3D Secure (Optional)
- Check the "Enable 3D Secure" option in plugin configuration;
- If unchecked, payment channel will automatically determine whether to enable 3DS verification;
- When checked, 3DS will be forced for all transactions, improving security.
Step 7: Set Notification URL
Set the asynchronous notification URL in DianDianPay backend "Developer Configuration";
Format as follows, must be HTTPS:
plaintexthttps://{your-site-domain}/?diandianpay_notify=1
Technical Support and Feedback
If you encounter any issues during use or have feature suggestions, please contact DianDianPay technical support team:
Email: tech@diandianpay.com
We will respond within 1-2 business days
Secondary Development Statement
If this plugin cannot fully meet your business needs, you can freely conduct secondary development or extended use according to the GPL agreement
Plugin License
This plugin is released under the GPLv2 or later license