Npcink Pay Refund adds a WordPress admin refund console for merchants who need to query and refund Alipay and WeChat Pay orders by payment order number. The plugin is not a checkout gateway and does not create payments. It focuses on controlled refund operations after a payment has already been crea
PricingFree downloadThe WordPress.org download is free. Pro versions, add-ons or external services may cost extra.
CompatibilityRequires WordPress 6.0 and PHP 8.1.
SourceWordPress plugins · Dec 5, 2026
01 / Source details
Aboutthistool.
Npcink Pay Refund adds a WordPress admin refund console for merchants who need to query and refund Alipay and WeChat Pay orders by payment order number.
The plugin is not a checkout gateway and does not create payments. It focuses on controlled refund operations after a payment has already been created by your existing payment flow.
Features:
Query Alipay and WeChat Pay orders from the WordPress admin.
Run full refunds for eligible paid orders.
Restrict refund actions to administrators and selected refund operators through a dedicated capability.
Store refund records in a custom WordPress database table.
Keep payment secrets in a separate non-autoloaded option.
Prevent duplicate refund submissions with order-level locking.
Export refund records for internal review.
Check local payment configuration before running live refund operations.
Third-party services
This plugin connects to external payment APIs only after an administrator configures the related merchant credentials and an authorized WordPress user performs a query, refund, or configuration check.
Alipay:
Service: Alipay Open Platform / Alipay EasySDK.
Endpoint used by the SDK: openapi.alipay.com.
Data sent for order queries: Alipay app credentials and the payment order number entered by the operator.
Data sent for refunds: Alipay app credentials, payment order number, refund amount, refund request number, and the refund reason entered by the operator.
Service information: https://open.alipay.com/
WeChat Pay:
Service: WeChat Pay API v3 through the official wechatpay/wechatpay PHP SDK.
Endpoint used by the SDK: official WeChat Pay API v3 endpoints, including refund and transaction APIs.
Data sent for order queries: WeChat Pay merchant credentials and the payment order number entered by the operator.
Data sent for refunds: WeChat Pay merchant credentials, payment order number, refund number, full refund amount, and the refund reason entered by the operator.
Service information: https://pay.weixin.qq.com/
By default, merchant private keys and public keys are stored in the site’s WordPress database options. Keep access to administrator accounts, backups, and database exports restricted.
For deployments that keep secrets outside the database, define NPCINK_PAY_REFUND_ZFB_PRIVATE_KEY , NPCINK_PAY_REFUND_ZFB_PUBLIC_KEY , NPCINK_PAY_REFUND_WX_CERT_KEY , and NPCINK_PAY_REFUND_WX_PLATFORM_PUBLIC_KEY in wp-config.php . These constants take precedence over saved option values and are never written by the settings form.
See it in action
Screenshots & previews.
Alipay configuration with masked secret fields and local configuration check.Refund operator permissions and refund record visibility.Order refund console for WeChat Pay and Alipay with recent refund records.Refund record search and filtering.
02 / Source details
Gettingstarted.
01Upload the plugin files to the /wp-content/plugins/npcink-pay-refund directory, or install the release zip from the WordPress plugins screen.
02Activate the plugin through the Plugins screen in WordPress.
03Open the plugin settings page from the Plugins screen.
04Configure Alipay, WeChat Pay, and refund operator permissions.
05Use Dashboard > Order Refund to query and refund eligible orders.
Use the release zip generated by composer build:zip when installing from source. A raw source archive may not include the Composer dependencies required by the payment SDKs.
03 / Source details
Frequently asked questions.
Is this a WooCommerce payment gateway?
No. This plugin does not create checkout payment methods. It provides an admin-side refund console for existing Alipay and WeChat Pay payment orders.
Does it support partial refunds?
No. The current refund action is full refund only.
Who can run refunds?
Administrators can configure the plugin and run refunds. Administrators can also assign non-administrator refund operators from the settings page.
Where are refund records stored?
Refund records are stored in the custom database table wp_npcink_pay_refund_order , using your site’s configured table prefix.
Where are payment secrets stored?
Payment secrets are stored in a separate non-autoloaded WordPress option named npcink_pay_refund_secrets .
FinderPress Media Auditor helps site administrators scan for broken images, missing Media Library files, unreachable media URLs, and other media issues across WordPress content. Use it to audit images, video, audio, PDFs, featured images, and attachment files without sending scan data to an external
The Accepted Payment Methods plugin is a straightforward, lightweight solution that enhances your website by displaying visually appealing icons of the payment methods you accept. This plugin is ideal for a variety of websites, including e-commerce platforms, service-oriented websites, and informati