Title: Hiperlink HUB3 Barcode
Author: Hiperlink Digital
Published: <strong>November 26, 2026</strong>
Last modified: November 26, 2026

---

Search plugins

![](https://ps.w.org/hiperlink-hub3-barcode/assets/banner-772x250.png?rev=3825898)

![](https://ps.w.org/hiperlink-hub3-barcode/assets/icon.svg?rev=3825898)

# Hiperlink HUB3 Barcode

 By [Hiperlink Digital](https://profiles.wordpress.org/hiperlinkdigital/)

[Download](https://downloads.wordpress.org/plugin/hiperlink-hub3-barcode.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/hiperlink-hub3-barcode/#description)
 * [Reviews](https://wordpress.org/plugins/hiperlink-hub3-barcode/#reviews)
 *  [Installation](https://wordpress.org/plugins/hiperlink-hub3-barcode/#installation)
 * [Development](https://wordpress.org/plugins/hiperlink-hub3-barcode/#developers)

 [Support](https://wordpress.org/support/plugin/hiperlink-hub3-barcode/)

## Description

Hiperlink HUB3 Barcode adds the HUB-3 2D payment barcode (PDF417, the “2D barkod”
of the Croatian HUB-3 payment slip) to WordPress and WooCommerce. Customers in Croatia
pay bank transfers by scanning it in their mobile banking app, and the amount, IBAN,
model and reference fill in by themselves, so payments arrive with the right reference.
This plugin adds that barcode with the payment details as text:

 * on the WooCommerce thank-you page and in My account > Orders, for orders in euro
   paid by direct bank transfer that are not paid yet;
 * anywhere else with the `[hub3_barcode]` shortcode, for example for a membership
   fee or a donation.

The payment details are also written out as text, for customers who copy them or
use a screen reader; the image has a description with the amount and the payee, 
and the block stays in one piece when the page is printed.

The barcode follows the HUB-3A standard of the Croatian Banking Association and 
is built on your server, as a PNG image of about 1 KB (an SVG where PHP has no GD
extension). The plugin does not call any outside service, does not load anything
from other sites and sets no cookies.

**Settings** (Settings > HUB3 barcode)

 * Payee name, street, postcode and town, and IBAN (checked when you save, with 
   a clear message if it has a typo). With WooCommerce, empty fields are filled 
   in from the direct bank transfer account and the store address, so the IBAN is
   entered once.
 * Under Advanced: model HR00 with a reference template, or HR99 without a reference,
   and the purpose code (OTHR by default).
 * Reference and description templates with `{order_number}`, `{order_id}` and `{
   year}`.
 * The order screen in the dashboard shows the barcode and payment details the customer
   sees, for orders paid by direct bank transfer.

**Shortcode**

    ```
    [hub3_barcode amount="25.00" reference="2026-15" description="Membership 2026" payer="Ana Horvat"]
    ```

Without `reference`, the payment uses model HR99, with one HR00; an add-on that 
offers more models lets you pick one with `model`, for example `model="HR01"`. The
amount can be written as 25, 25.50, 25,50, 1.234,56 or 1,234.56 (with or without
EUR or €). An amount that reads two ways, like 1.000, shows no barcode, and administrators
see a note on the page instead, so a wrong amount never reaches the barcode.

Croatian letters are written without diacritics (Č becomes C), and so are other 
ones in foreign customers’ names (Müller becomes Muller), which every banking app
reads the same way. Translations, Croatian included, come from translate.wordpress.
org.

**Why Hiperlink HUB3 Barcode**

 * **Light**: the barcode is a small image made on your server, with no script, 
   no stylesheet file and no library in the browser. Visitors’ pages get +0 extra
   database queries (under 200 KB of memory in our measurements), and the settings
   screens load only in the dashboard.
 * **Private**: no outside service, no QR or barcode API, no cookies. Payment details
   never leave your site.
 * **No ads, no upsell notices and no tracking** in the dashboard. Deleting the 
   plugin removes its settings and the payment reference it keeps on orders.

**Works with:** WooCommerce with the checkout block and the classic checkout, with
the order tables (HPOS) on or off, block themes such as Twenty Twenty-Five, and 
multisite.

**Quiet mode**

If you would rather not show which plugin makes the payment block, turn on quiet
mode: add `define( 'HIPERLINK_QUIET', true );` to wp-config.php, or use the Hide
footprints module of Hiperlink Security, which does it for all Hiperlink plugins
at once. Visitors’ pages then carry no plugin name: the class `hub3-barcode` and
the ids of the block become short names made from your site’s security keys, the
same on every page and different on every site. The settings page shows the new 
class for your theme’s CSS. The dashboard stays as it is, and new security keys 
give new names.

**Na hrvatskom**

2D barkod za plaćanje, isti kao na HUB-3 uplatnici, za vašu web trgovinu ili web
stranicu. Kupac ga skenira u aplikaciji mobilnog bankarstva i iznos, IBAN, model
i poziv na broj upišu se sami. Prikazuje se na WooCommerce narudžbama s izravnom
bankovnom uplatom i bilo gdje kratkim kodom `[hub3_barcode]`, na primjer za članarinu
ili donaciju. Barkod se izrađuje na vašem poslužitelju, bez vanjskih servisa, a 
dodatak ima hrvatski prijevod.

Umjesto generatora uplatnica: barkod (PDF417 prema standardu HUB-3A Hrvatske udruge
banaka) nastaje za svaku narudžbu sam, s pozivom na broj iz broja narudžbe, pa ga
ne treba izrađivati ručno. Dodatak je lagan: barkod je mala slika bez skripte, a
stranice posjetitelja nemaju nijedan dodatni upit u bazu.

Made by [Hiperlink Digital](https://hiperlink.digital/), a web agency from Croatia.
We use the same barcode on our own order pages.

## Screenshots

[⌊The payment barcode on the thank-you page of an order paid by bank transfer.⌉⌊
The payment barcode on the thank-you page of an order paid by bank transfer.⌉[

The payment barcode on the thank-you page of an order paid by bank transfer.

[⌊Settings for the payee, IBAN, model, reference and payment description.⌉⌊Settings
for the payee, IBAN, model, reference and payment description.⌉[

Settings for the payee, IBAN, model, reference and payment description.

[⌊A preview of the barcode with the saved settings.⌉⌊A preview of the barcode with
the saved settings.⌉[

A preview of the barcode with the saved settings.

[⌊The hub3_barcode shortcode on a page for a membership fee.⌉⌊The hub3_barcode shortcode
on a page for a membership fee.⌉[

The hub3_barcode shortcode on a page for a membership fee.

## Installation

 1. Install the plugin from Plugins > Add New, or upload the `hiperlink-hub3-barcode`
    folder to `/wp-content/plugins/`.
 2. Activate it and enter the payee details and IBAN under Settings > HUB3 barcode.
    The settings page shows the barcode for a sample order, to scan with your banking
    app.
 3. In WooCommerce, enable “Direct bank transfer”. Orders in euro that wait for payment
    show the barcode.

## FAQ

### How do I add a HUB3 barcode to WooCommerce orders?

Install and activate the plugin, enter the payee and IBAN under Settings > HUB3 
barcode, and enable “Direct bank transfer” in WooCommerce. Orders in euro paid by
bank transfer then show the barcode on the thank-you page and in My account > Orders
until they are paid.

### Kako dodati 2D barkod za plaćanje u WooCommerce?

Uključite dodatak, u Postavke > HUB3 barcode upišite primatelja i IBAN, a u WooCommerceu
uključite izravnu bankovnu uplatu. Narudžbe u eurima koje čekaju uplatu prikazuju
barkod na stranici zahvale i u Moj račun > Narudžbe.

### Does it slow down my 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.

### Which banking apps read the barcode?

Croatian mobile banking apps that scan HUB-3 barcodes on payment slips. Scan the
preview 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 image in the banking
app: many Croatian banking apps read the barcode from a picture in the gallery. 
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.

### 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 without WooCommerce?

Yes, with the shortcode.

### 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.

### Can another plugin change the payment?

Yes, with filters: `hiperlink_hub3_barcode_order_payment` (the payment of an order,
for example the amount still due; return null to hide the barcode), `hiperlink_hub3_barcode_models`
and `hiperlink_hub3_barcode_valid_reference` (more reference models), `hiperlink_hub3_barcode_reference`(
the reference for such a model) and `hiperlink_hub3_barcode_image_html` (the image,
for example a PNG for emails).

### Does it work on multisite?

Yes. Each site has its own payee and IBAN under Settings > HUB3 barcode. With a 
network activation every site, also one added later, is ready at once, and a site
that never shows the barcode makes no extra database query. Deleting the plugin 
removes its settings and the payment reference it keeps on orders, on every site.

### Can visitors see which plugin makes the barcode?

The block has the class `hub3-barcode` by default. In quiet mode it has no plugin
name at all (see Quiet mode above). The plugin cannot hide its own readme.txt, which
your web server sends to anyone who asks for it: the Hide footprints module of Hiperlink
Security blocks such files, or you can add a rule on your server. The barcode and
the payment details look the same in both modes.

### Does it support other currencies?

No. HUB-3 payments in Croatia are in euro, so orders in other currencies do not 
show a barcode.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Hiperlink HUB3 Barcode” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Hiperlink Digital ](https://profiles.wordpress.org/hiperlinkdigital/)

[Translate “Hiperlink HUB3 Barcode” into your language.](https://translate.wordpress.org/projects/wp-plugins/hiperlink-hub3-barcode)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/hiperlink-hub3-barcode/),
check out the [SVN repository](https://plugins.svn.wordpress.org/hiperlink-hub3-barcode/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/hiperlink-hub3-barcode/)
by [RSS](https://plugins.trac.wordpress.org/log/hiperlink-hub3-barcode/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * First public version.

## Meta

 *  Version **1.0.0**
 *  Last updated **5 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [hub3](https://wordpress.org/plugins/tags/hub3/)[uplatnica](https://wordpress.org/plugins/tags/uplatnica/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/hiperlink-hub3-barcode/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/hiperlink-hub3-barcode/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/hiperlink-hub3-barcode/reviews/)

## Contributors

 *   [ Hiperlink Digital ](https://profiles.wordpress.org/hiperlinkdigital/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/hiperlink-hub3-barcode/)