[WordPress] 外掛分享: Integrate HesabPay for WooCommerce

首頁外掛目錄 › Integrate HesabPay for WooCommerce
WordPress 外掛 Integrate HesabPay for WooCommerce 的封面圖片
10+
安裝啟用
尚無評分
465 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.0+ v1.0.0 上架:2025-02-24

內容簡介

**總結:**

HesabPay Gateway for WooCommerce 將 HesabPay 付款網關整合到您的 WooCommerce 商店中,並具有堅固的 Webhook 驗證功能,以確保交易安全。該外掛可自動處理付款請求並更新訂單狀態,實現通過 HesabPay 的無縫支付。

**問題與回答:**

1. 這個 WordPress 外掛的主要功能是什麼?
- 主要功能是將 HesabPay 付款網關整合到 WooCommerce 商店中,實現安全交易並自動處理付款請求,更新訂單狀態。

2. HesabPay 是什麼樣的服務?它支持哪些付款方式?
- HesabPay 是一個位於阿富汗的數字付款網關,允許商家(阿富汗和國際)接受包括 MasterCard、Visa、American Express、ACH Debit、SEPA 等在內的多種支付方式,實現全球無縫交易。

3. 外掛與哪兩個 HesabPay API 端點通信?
- 外掛與兩個 HesabPay API 端點通信,分別是 Payment Session Creation 和 Webhook Signature Verification。

4. Payment Session Creation API 用於什麼?
- 用於為客戶創建支付會話(支付鏈接),並在請求中傳送 HesabPay 提供的 API 金鑰以進行授權,以及產品細節(名稱、數量、價格),然後接收支付會話 URL 以將客戶重定向進行支付。

5. Webhook Signature Verification API 的作用是什麼?
- 在支付嘗試後,HesabPay 會向外掛發送 Webhook。在更新訂單狀態之前,外掛使用此 API 來驗證簽名,通過在標頭中發送 API 金鑰和在請求主體中發送相關數據來確保支付信息有效安全。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Integrate HesabPay for WooCommerce」→ 直接安裝(推薦)

原文外掛簡介

HesabPay Gateway for WooCommerce integrates the HesabPay payment gateway into your WooCommerce store with robust webhook verification for secure transactions. This plugin enables seamless payments via HesabPay by automatically processing payment requests and updating order statuses.
External Services
This plugin integrates with HesabPay (official website: https://hesab.com), a digital payment gateway based in Afghanistan. HesabPay enables merchants (both Afghan and international) to accept a wide range of payments including MasterCard, Visa, American Express, ACH Debit, SEPA, and more, allowing for seamless global transactions.
The plugin communicates with two HesabPay API endpoints:
1. Payment Session Creation:
URL: https://api.hesab.com/api/v1/payment/create-session
Description: This API is used to create a payment session (payment link) for customers. The plugin sends the API key (provided by HesabPay) in the request header for authorization, along with product details (Name, Quantity, Price) in the request body. In response, it receives a payment session URL to redirect the customer for payment.
Terms of Service & Privacy Policy: Please refer to HesabPay’s official website (https://hesab.com) for details.

Webhook Signature Verification:
URL: https://api.hesab.com/api/v1/hesab/webhooks/verify-signature
Description: After a payment is attempted, HesabPay sends a webhook to the plugin. Before updating the order status, the plugin verifies the signature using this API by sending the API key in the header and the relevant data in the request body. This ensures that the payment information is valid and secure.
Terms of Service & Privacy Policy: Please refer to HesabPay’s official website (https://hesab.com) for details.

Additional Notes

Ensure your WooCommerce installation is up-to-date to avoid compatibility issues.
The plugin adheres to WordPress coding standards and GPL licenses.
For bug reports or feature requests, please contact the author or visit the plugin’s support forum.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon