🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Hatton National Bank Payment Gateway for WooCommerce icon
Slowing down Tested up to 6.8.13

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.

Active installs10+10+ tier
Downloads · 30d58▼ -1.7% vs prev. 30d
Rating5/51 reviews
Health score39/100At risk
All-time downloads3.5KSince Jan 2019
Support resolved—No recent threads
RequiresWP 4.9PHP 7.1+
Downloads · 7d15▲ +25% week over week
Our verdict

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 & support

Daily downloads

246Sep 4Oct 18Dec 2
Yesterday4
Daily average (1y)1
Peak day8Oct 13, 2026
Last 12 months513

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Hatton National Bank Paymen… stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
payment >100 10,000 Best payment plugins →
payment gateway >100 4,650 Best payment gateway plugins →
sri lanka #17 58 Best sri lanka plugins →
woo-commerce >100 484 Best woo-commerce plugins →
woocommerce >100 10,000 Best woocommerce plugins →

Version adoption

Share of active sites per release.

  • 1.1100.0%

Rating breakdown

★★★★★★★★★★ 5 from 1 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Hatton National Bank Payment Gateway fo…

From the official readme · v1.1.1

Description

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.

Installation

Minimum Requirements

  • PHP 7.1 or later
  • Acquire ID, Merchant ID, and Password obtained 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.

Full changelog on WordPress.org →

Screenshots

Enable the plugin
Enable the plugin
WooCommerce Payments tab shows the new "HNB Online Payment" method
WooCommerce Payments tab shows the new "HNB Online Payment" method
Configure the payment gateway
Configure the payment gateway
Payment option in the checkout page
Payment option in the checkout page
Payment configuration page
Payment configuration page
HNB payment gateway page
HNB payment gateway page

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.

Active installs badge Rating badge Health score badge

Best Hatton National Bank Payment… alternatives

All payment plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 WooCommerce Tax (formerly WooCommerce Shipping & Tax) WooCommerce Tax (formerly WooCommerce Shipping & Tax) We’re here to help with tax rates: collect accurate sales tax, automatically. by WooCommerce 500K+ ★★★★★★★★★★ 2.1 (108) 2 weeks ago 83
2 Payment Gateway Based Fees and Discounts for WooCommerce Payment Gateway Based Fees and Discounts for WooCommerce Set fees and discounts for WooCommerce payment gateways. by tychesoftwares 30K+ ★★★★★★★★★★ 4.7 (58) 3 months ago 80
3 Accept Stripe Payments Accept Stripe Payments Easily accept payments on your WordPress site via Stripe payment gateway. by mra13 / Team Tips and Tricks… 20K+ ★★★★★★★★★★ 4.2 (115) 6 days ago 90
4 PayU GPO Payment for WooCommerce PayU GPO Payment for WooCommerce PayU fast online payments for WooCommerce. Banks, BLIK, credit or debit cards… by PayU 10K+ ★★★★★★★★★★ 3.7 (6) 3 days ago 69
5 Claudio Sanches – PagSeguro for WooCommerce Claudio Sanches – PagSeguro for WooCommerce Adds PagSeguro gateway to the WooCommerce plugin by Claudio Sanches 10K+ ★★★★★★★★★★ 4.9 (914) 6 years ago 47
6 iyzico for WooCommerce iyzico for WooCommerce iyzico latest payment processing solution. Accept credit/debit cards, alternative digital… by iyzico 9K+ ★★★★★★★★★★ 1.8 (18) 12 months ago 43
7 Gateway Zibal for WooCommerce Gateway Zibal for WooCommerce درگاه پرداخت زیبال برای ووکامرس با پشتیبانی از پرداخت کلاسیک، Checkout Blocks و HPOS. by zibal 9K+ ★★★★★★★★★★ 5 (2) 3 months ago 57
8 ЮKassa для WooCommerce ЮKassa для WooCommerce Прием платежей на сайтах WooCommerce. Разработка и поддержка — компания ЮMoney by yoomoney 9K+ ★★★★★★★★★★ 3.7 (34) 2 days ago 67
9 Cashfree for WooCommerce Cashfree for WooCommerce Official Cashfree Payment Gateway plugin for WooCommerce. by Cashfree 9K+ ★★★★★★★★★★ 4 (4) 3 months ago 55
10 Asaas Gateway for WooCommerce Asaas Gateway for WooCommerce Take transparent credit card and bank ticket payment checkouts on your store using Asaas. by Asaas 8K+ ★★★★★★★★★★ 4.2 (23) 1 day ago 74

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

↑↓ to move↵ to open