Free plugin · WordPress.org
HUB-3 payment barcode: pay by scanning.
A free plugin for Croatian bank transfers: the customer scans the HUB-3 2D barcode (PDF417, as on the HUB-3 payment slip) in a mobile banking app, and the amount, IBAN, model and reference fill in by themselves. The barcode is a small image made on your server, with no outside service, no script and no cookies.

Features
What the plugin does.
01
WooCommerce orders
The barcode and the payment details appear on the thank-you page and in My account > Orders for orders in euro paid by direct bank transfer that are not paid yet, and on the order screen in the dashboard. Works with the classic checkout and the checkout block.
02
Shortcode for other payments
For a membership fee, a donation or an invoice: [hub3_barcode amount="25.00" reference="2026-15" description="Membership 2026"]. Without a reference, the payment uses model HR99.
03
HUB-3A standard
Payee, IBAN with a check of the control digits, model HR00 with a reference template or HR99, and a purpose code (OTHR by default). Croatian letters are written without diacritics, which every banking app reads the same way.
04
Set up once
With WooCommerce, empty payee and IBAN fields are filled in from the direct bank transfer account and the store address, so you enter the IBAN once. It is checked when you save, and the settings page shows a sample barcode to scan with your banking app.
05
Accessible, also on a phone
The payment details are also written out as text, for screen readers and copying, and the block stays in one piece when printed. A customer who orders on a phone can save the barcode and choose the picture in the banking app: many Croatian banking apps read it from the gallery.
06
Light and private
No script, no stylesheet file and no barcode API: visitors’ pages get no extra database queries, and the payment details never leave your site. Quiet mode hides which plugin makes the payment block.
Use
Install and settings.
- Install the plugin from Plugins > Add New and enter the payee and IBAN under Settings > HUB3 barcode. The settings page shows the barcode for a sample order: scan it with your banking app before you go live.
- In WooCommerce (7.0 or newer), enable “Direct bank transfer”. Orders in euro that wait for payment show the barcode.
- For a membership fee or a donation, add the shortcode to any page, with or without WooCommerce.
Download
Get it from WordPress.org.
Version 1.0.0, for WordPress 6.0 or newer and PHP 7.4 or newer. Free under the GPL licence. Download and install it from the plugin page on WordPress.org (opens in a new tab), or search for “Hiperlink HUB3 Barcode” under Plugins > Add New.
Questions and bug reports: the support forum on WordPress.org or our contact form.
FAQ
Questions about the plugin.
Which banking apps read the barcode?
Croatian mobile banking apps that scan the barcode on HUB-3 payment slips. Scan the test barcode on the settings page with your own app before you go live.
The customer orders on a phone. How do they scan it?
They touch and hold the barcode to save it, then choose the picture in the banking app, and the block says so under the barcode. This needs the GD extension of PHP, which most hosts have: without it the barcode is an SVG, which phones do not keep in the gallery.
Does it slow down the site?
No. The barcode is an image of about 1 KB without a script, made only on the pages that show it, and other pages get no extra database queries.
Is the barcode in order emails?
Not in this version: most email programs do not show images written into the message itself.
Does it work with the checkout block and HPOS?
Yes. The barcode shows on the order confirmation of the checkout block and of the classic checkout, with the WooCommerce order tables (HPOS) on or off.
Does it work without WooCommerce?
Yes, with the shortcode.
Does it support other currencies?
No. HUB-3 payments in Croatia are in euro, so orders in other currencies show no barcode.
Building an online shop?
We build secure WooCommerce shops for Croatian payments and delivery, with bank transfer and cards.