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.
Consider an alternative
Hatton National Bank Payment Ga… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 5/5 and was last updated 1 year ago, and scores 39/100 on our health check.
- Small user base (10+ active installs)
- Very few reviews so far
- No update in over a year
- Only tested up to WordPress 6.8 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Hatton National Bank Paymen… stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| payment | >100 |
| payment gateway | >100 |
| sri lanka | #17 |
| woo-commerce | >100 |
| woocommerce | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 1 reviews
About Hatton National Bank Payment Gateway fo…
From the official readme · v1.1.1Description
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, andPasswordobtained 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.
Installation
Minimum Requirements
- PHP 7.1 or later
Acquire ID,Merchant ID, andPasswordobtained from HNB.
Automatic installation
Automatic installation is the easiest option as WordPress handles the file transfers itself, and you don’t need to leave your web browser. To do an automatic installation of this plugin, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.
In the search field type “WooCommerce – Hatton National Bank Payment Gateway” and click Search Plugins. Once you’ve found our plugin you can view details about it such as the point release, rating and description. Most importantly of course, you can install it by simply clicking “Install Now”.
Manual installation
The manual installation method involves downloading our plugin and uploading it to your webserver via your favourite FTP application. The WordPress codex contains instructions on how to do this here.
Changelog
1.0
- Initial release.
1.0.1
- Fix a missing sprintf() call in order notes.
- Add class constant modifiers to gateway class constants.
- Various code performance improvements with FQFN and FQCN tweaks.
1.1
- Update plugin for PHP 6.3 compatibility.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Hatton National Bank Payment… alternatives
All payment plugins →FAQ
Hatton National Bank Payment Gatewa…: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Hatton National Bank Payment Ga… free?
Yes. Hatton National Bank Payment Ga… is free to download and use from the official WordPress.org plugin directory.
Is Hatton National Bank Payment Ga… safe to use in 2026?
Hatton National Bank Payment Ga… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 5/5 and was last updated 1 year ago, and scores 39/100 on our health check.
How many websites use Hatton National Bank Payment Ga…?
Hatton National Bank Payment Ga… is active on 10+ WordPress websites and has been downloaded 3,527 times since it launched in January 2019. It was downloaded 58 times in the last 30 days.
Does Hatton National Bank Payment Ga… work with WordPress 7.1?
Hatton National Bank Payment Ga… is officially tested up to WordPress 6.8.13, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Hatton National Bank Payment Ga… need?
Hatton National Bank Payment Ga… requires PHP 7.1 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Hatton National Bank Payment Ga… last updated?
The latest version, 1.1.1, was released on October 4, 2025 (1 year ago).
Who makes Hatton National Bank Payment Ga…?
Hatton National Bank Payment Ga… is developed and maintained by Ayesh Karunaratne.
What are the best alternatives to Hatton National Bank Payment Ga…?
The most popular alternatives to Hatton National Bank Payment Ga… are WooCommerce Tax (formerly W… (500K+ installs), Payment Gateway Based Fees… (30K+ installs) and Accept Stripe Payments (20K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card






