
內容簡介
WooCommerce HNB 外掛是一款免費且開源的外掛程式,可將 Hatton National Bank 網路付款閘道整合至您的 WooCommerce 網店中。
功能
完全免費!無需購買許可證。
輕量級但功能完整的整合。
使用現代 PHP 程式碼撰寫,讓程式碼變得輕量且易讀。
在收到付款後仔細且安全地驗證付款。
採取安全措施以防止敏感數據外洩。
由母語者翻譯成僧加羅文 (සිංහල) 和泰米爾文 (தமிழ்)。
前提條件
PHP 7.1 或更新。
從 HNB 取得的 Acquire ID、Merchant ID 和 Password。
請注意,PHP 5.6 和更舊的版本已不再接受官方安全更新。PHP 7.1 僅接收安全修補程式,強烈建議您使用最新的 PHP 版本。此外掛已使用 PHP 版本 8.0 進行測試。
配置
啟用外掛後,您將在 WooCommerce HNB 外掛名稱下看到一個「設置」連結。這個按鈕,或者 WooCommerce 設置 -> 付款 -> HNB 在線付款將帶您進入外掛配置頁面。
在此頁面中,輸入 HNB 提供的收購者 ID、商戶 ID 和密碼。
功能
當客戶準備為訂單付款時,他們將看到透過 HNB 付款閘道進行信用卡/借記卡付款的選項。用戶將被送往 HNB 付款閘道以完成付款。
完成後,用戶被送回您的商店,根據交易狀態,用戶會看到訂單完成頁面,或者返回結帳頁面,並顯示付款失敗的信息。
如果交易失敗(信用卡遭拒絕、配置錯誤等),此外掛將在訂單中記錄管理員附註。這個附註試圖為管理員提供盡可能多的信息以幫助解決任何問題。錯誤代碼在 HNB 發送的 PDF 檔案中可供參考。
外掛標籤
開發者團隊
② 後台搜尋「Hatton National Bank Payment Gateway for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
Hatton National Bank Payment Gateway for WooCommerce plugin is a free and open source plugin to integrate Hatton National Bank Internet Payment Gateway with your WooCommerce store.
Features
Totally free! No need to buy a license.
Lightweight yet fully functional integration.
Written with modern PHP code, making the code light weight and easy to read.
Thoroughly and securely validates the payments upon receipt.
Security measures to prevent sensitive data exposure.
Translated to Sinhalese (සිංහල) and Tamil (தமிழ்) by native speakers.
Prerequisites
PHP 7.1 or later
Acquire ID, Merchant ID, and Password obtained from HNB.
Note that PHP 5.6 and older versions no longer receive official security updates. PHP 7.1 only receives security fixes, it is highly recommended that you use the latest PHP version. This plugin is tested with PHP versions upto PHP 8.0.
Configuration
Once enabled, you will see a Settings link under the HNB Gateway for WooCommerce plugin name. This button, or WooCommerce Settings -> Payments -> HNB Online Payment will take you to the plugin configuration page.
In this page, enter the Acquirer ID, Merchant ID, and Password exactly as provided by HNB.
Functionality
When the customers are about pay for the order, they will see the option to pay by credit/debit cards via HNB payment gateway. User will be sent to HNB payment gateway to complete the payment.
Upon completion, user is sent back to your store, and depending on the transaction status, user will either see the order-complete page, or sent back to the checkout page with a message saying the payment failed.
If a transaction fails (card declined, configuration error, etc.), this plugin logs an admin-note to the order. This note tries to put as much as possible information for administrators to help resolve any problems. The error codes are available to refer in the PDF file sent by HNB.
