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:
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:
WeChat Pay:
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.