[WordPress] 外掛分享: Npcink Pay Refund

首頁外掛目錄 › Npcink Pay Refund
全新外掛
安裝啟用
尚無評分
11 天前
最後更新
問題解決
WordPress 6.0+ PHP 8.1+ v1.3.7 上架:2026-07-25

內容簡介

Npcink Pay Refund 是一款專為商家設計的 WordPress 外掛,提供退款管理控制台,讓商家能夠透過支付訂單號查詢及退款 Alipay 和 WeChat Pay 的訂單。此外掛專注於已完成支付的退款操作,確保退款流程的安全與便捷。

【主要功能】
• 查詢 Alipay 和 WeChat Pay 訂單
• 為符合條件的訂單執行全額退款
• 限制退款操作權限給管理員及指定操作人
• 將退款記錄儲存於自訂的 WordPress 資料庫表格
• 防止重複退款提交的訂單鎖定機制
• 匯出退款記錄以供內部審核

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3.7) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Npcink Pay Refund」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Mastodon