{"id":407773,"date":"2026-11-26T08:13:52","date_gmt":"2026-11-26T08:13:52","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/hiperlink-hub3-barcode\/"},"modified":"2026-11-26T08:13:39","modified_gmt":"2026-11-26T08:13:39","slug":"hiperlink-hub3-barcode","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/hiperlink-hub3-barcode\/","author":23603524,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.5","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Hiperlink HUB3 Barcode","header_author":"Hiperlink Digital","header_description":"HUB3 payment barcode (PDF417) for Croatian bank transfers: customers scan it in their mobile banking app. Shown on WooCommerce orders paid by direct bank transfer and anywhere with a shortcode. Built on your server, without outside services.","last_updated":"2026-11-26 08:13:39","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/hiperlink.digital\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":34,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"hiperlinkdigital","date":"2026-11-26 08:13:39","revision":3825898}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3825898,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3825898,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3825898,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3825898,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3825898,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3825898,"resolution":false,"location":"assets","locale":"","contents":"{\"$schema\":\"https:\\\/\\\/playground.wordpress.net\\\/blueprint-schema.json\",\"meta\":{\"title\":\"Hiperlink HUB3 Barcode demo\",\"author\":\"hiperlinkdigital\"},\"landingPage\":\"\\\/?pagename=hub3-demo\",\"preferredVersions\":{\"php\":\"8.3\",\"wp\":\"latest\"},\"steps\":[{\"step\":\"login\",\"username\":\"admin\"},{\"step\":\"installPlugin\",\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"hiperlink-hub3-barcode\"},\"options\":{\"activate\":true}},{\"step\":\"runPHP\",\"code\":\"<?php require '\\\/wordpress\\\/wp-load.php'; update_option( 'hiperlink_hub3_barcode', array( 'payee_name' => 'Demo Udruga', 'payee_street' => 'Ilica 1', 'payee_place' => '10000 Zagreb', 'iban' => 'HR1210010051863000160', 'model' => 'HR00', 'reference' => '{year}-{order_number}', 'purpose' => 'OTHR', 'description' => 'Narudzba {order_number}', 'show_orders' => 1 ) ); wp_insert_post( array( 'post_type' => 'page', 'post_status' => 'publish', 'post_name' => 'hub3-demo', 'post_title' => 'HUB-3 barcode demo', 'post_content' => '<!-- wp:paragraph --><p>Demo with a test IBAN: scan it in a Croatian banking app to see the payment details fill in. Do not pay.<\\\/p><!-- \\\/wp:paragraph --><!-- wp:shortcode -->[hub3_barcode amount=\\\"25.00\\\" reference=\\\"2026-15\\\" description=\\\"Clanarina 2026\\\"]<!-- \\\/wp:shortcode -->' ) );\"}]}"}},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3825898,"resolution":"1","location":"assets","locale":"","width":1440,"height":1160},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3825898,"resolution":"2","location":"assets","locale":"","width":1258,"height":965},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3825898,"resolution":"3","location":"assets","locale":"","width":1258,"height":591},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3825898,"resolution":"4","location":"assets","locale":"","width":1440,"height":810}},"screenshots":{"1":"The payment barcode on the thank-you page of an order paid by bank transfer.","2":"Settings for the payee, IBAN, model, reference and payment description.","3":"A preview of the barcode with the saved settings.","4":"The hub3_barcode shortcode on a page for a membership fee."}},"plugin_section":[],"plugin_tags":[295595,177496,295596,146747,286],"plugin_category":[45],"plugin_contributors":[292899],"plugin_business_model":[],"class_list":["post-407773","plugin","type-plugin","status-publish","hentry","plugin_tags-barkod","plugin_tags-hub3","plugin_tags-pdf417","plugin_tags-uplatnica","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-hiperlinkdigital","plugin_committers-hiperlinkdigital"],"banners":{"banner":"https:\/\/ps.w.org\/hiperlink-hub3-barcode\/assets\/banner-772x250.png?rev=3825898","banner_2x":"https:\/\/ps.w.org\/hiperlink-hub3-barcode\/assets\/banner-1544x500.png?rev=3825898","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/hiperlink-hub3-barcode\/assets\/icon.svg?rev=3825898","icon":"https:\/\/ps.w.org\/hiperlink-hub3-barcode\/assets\/icon.svg?rev=3825898","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/hiperlink-hub3-barcode\/assets\/screenshot-1.png?rev=3825898","caption":"The payment barcode on the thank-you page of an order paid by bank transfer."},{"src":"https:\/\/ps.w.org\/hiperlink-hub3-barcode\/assets\/screenshot-2.png?rev=3825898","caption":"Settings for the payee, IBAN, model, reference and payment description."},{"src":"https:\/\/ps.w.org\/hiperlink-hub3-barcode\/assets\/screenshot-3.png?rev=3825898","caption":"A preview of the barcode with the saved settings."},{"src":"https:\/\/ps.w.org\/hiperlink-hub3-barcode\/assets\/screenshot-4.png?rev=3825898","caption":"The hub3_barcode shortcode on a page for a membership fee."}],"raw_content":"<!--section=description-->\n<p>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:<\/p>\n\n<ul>\n<li>on the WooCommerce thank-you page and in My account &gt; Orders, for orders in euro paid by direct bank transfer that are not paid yet;<\/li>\n<li>anywhere else with the <code>[hub3_barcode]<\/code> shortcode, for example for a membership fee or a donation.<\/li>\n<\/ul>\n\n<p>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.<\/p>\n\n<p>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.<\/p>\n\n<p><strong>Settings<\/strong> (Settings &gt; HUB3 barcode)<\/p>\n\n<ul>\n<li>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.<\/li>\n<li>Under Advanced: model HR00 with a reference template, or HR99 without a reference, and the purpose code (OTHR by default).<\/li>\n<li>Reference and description templates with <code>{order_number}<\/code>, <code>{order_id}<\/code> and <code>{year}<\/code>.<\/li>\n<li>The order screen in the dashboard shows the barcode and payment details the customer sees, for orders paid by direct bank transfer.<\/li>\n<\/ul>\n\n<p><strong>Shortcode<\/strong><\/p>\n\n<pre><code>[hub3_barcode amount=\"25.00\" reference=\"2026-15\" description=\"Membership 2026\" payer=\"Ana Horvat\"]\n<\/code><\/pre>\n\n<p>Without <code>reference<\/code>, the payment uses model HR99, with one HR00; an add-on that offers more models lets you pick one with <code>model<\/code>, for example <code>model=\"HR01\"<\/code>. The amount can be written as 25, 25.50, 25,50, 1.234,56 or 1,234.56 (with or without EUR or \u20ac). 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.<\/p>\n\n<p>Croatian letters are written without diacritics (\u010c becomes C), and so are other ones in foreign customers' names (M\u00fcller becomes Muller), which every banking app reads the same way. Translations, Croatian included, come from translate.wordpress.org.<\/p>\n\n<p><strong>Why Hiperlink HUB3 Barcode<\/strong><\/p>\n\n<ul>\n<li><strong>Light<\/strong>: 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.<\/li>\n<li><strong>Private<\/strong>: no outside service, no QR or barcode API, no cookies. Payment details never leave your site.<\/li>\n<li><strong>No ads, no upsell notices and no tracking<\/strong> in the dashboard. Deleting the plugin removes its settings and the payment reference it keeps on orders.<\/li>\n<\/ul>\n\n<p><strong>Works with:<\/strong> 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.<\/p>\n\n<p><strong>Quiet mode<\/strong><\/p>\n\n<p>If you would rather not show which plugin makes the payment block, turn on quiet mode: add <code>define( 'HIPERLINK_QUIET', true );<\/code> 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 <code>hub3-barcode<\/code> 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.<\/p>\n\n<p><strong>Na hrvatskom<\/strong><\/p>\n\n<p>2D barkod za pla\u0107anje, isti kao na HUB-3 uplatnici, za va\u0161u web trgovinu ili web stranicu. Kupac ga skenira u aplikaciji mobilnog bankarstva i iznos, IBAN, model i poziv na broj upi\u0161u se sami. Prikazuje se na WooCommerce narud\u017ebama s izravnom bankovnom uplatom i bilo gdje kratkim kodom <code>[hub3_barcode]<\/code>, na primjer za \u010dlanarinu ili donaciju. Barkod se izra\u0111uje na va\u0161em poslu\u017eitelju, bez vanjskih servisa, a dodatak ima hrvatski prijevod.<\/p>\n\n<p>Umjesto generatora uplatnica: barkod (PDF417 prema standardu HUB-3A Hrvatske udruge banaka) nastaje za svaku narud\u017ebu sam, s pozivom na broj iz broja narud\u017ebe, pa ga ne treba izra\u0111ivati ru\u010dno. Dodatak je lagan: barkod je mala slika bez skripte, a stranice posjetitelja nemaju nijedan dodatni upit u bazu.<\/p>\n\n<p>Made by <a href=\"https:\/\/hiperlink.digital\/\">Hiperlink Digital<\/a>, a web agency from Croatia. We use the same barcode on our own order pages.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install the plugin from Plugins &gt; Add New, or upload the <code>hiperlink-hub3-barcode<\/code> folder to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate it and enter the payee details and IBAN under Settings &gt; HUB3 barcode. The settings page shows the barcode for a sample order, to scan with your banking app.<\/li>\n<li>In WooCommerce, enable \"Direct bank transfer\". Orders in euro that wait for payment show the barcode.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20do%20i%20add%20a%20hub3%20barcode%20to%20woocommerce%20orders%3F\"><h3>How do I add a HUB3 barcode to WooCommerce orders?<\/h3><\/dt>\n<dd><p>Install and activate the plugin, enter the payee and IBAN under Settings &gt; 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 &gt; Orders until they are paid.<\/p><\/dd>\n<dt id=\"kako%20dodati%202d%20barkod%20za%20pla%C4%87anje%20u%20woocommerce%3F\"><h3>Kako dodati 2D barkod za pla\u0107anje u WooCommerce?<\/h3><\/dt>\n<dd><p>Uklju\u010dite dodatak, u Postavke &gt; HUB3 barcode upi\u0161ite primatelja i IBAN, a u WooCommerceu uklju\u010dite izravnu bankovnu uplatu. Narud\u017ebe u eurima koje \u010dekaju uplatu prikazuju barkod na stranici zahvale i u Moj ra\u010dun &gt; Narud\u017ebe.<\/p><\/dd>\n<dt id=\"does%20it%20slow%20down%20my%20site%3F\"><h3>Does it slow down my site?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"which%20banking%20apps%20read%20the%20barcode%3F\"><h3>Which banking apps read the barcode?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"the%20customer%20orders%20on%20a%20phone.%20how%20do%20they%20scan%20it%3F\"><h3>The customer orders on a phone. How do they scan it?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"is%20the%20barcode%20in%20order%20emails%3F\"><h3>Is the barcode in order emails?<\/h3><\/dt>\n<dd><p>Not in this version: most email programs do not show images written into the message itself.<\/p><\/dd>\n<dt id=\"does%20it%20work%20without%20woocommerce%3F\"><h3>Does it work without WooCommerce?<\/h3><\/dt>\n<dd><p>Yes, with the shortcode.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20the%20checkout%20block%20and%20hpos%3F\"><h3>Does it work with the checkout block and HPOS?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"can%20another%20plugin%20change%20the%20payment%3F\"><h3>Can another plugin change the payment?<\/h3><\/dt>\n<dd><p>Yes, with filters: <code>hiperlink_hub3_barcode_order_payment<\/code> (the payment of an order, for example the amount still due; return null to hide the barcode), <code>hiperlink_hub3_barcode_models<\/code> and <code>hiperlink_hub3_barcode_valid_reference<\/code> (more reference models), <code>hiperlink_hub3_barcode_reference<\/code> (the reference for such a model) and <code>hiperlink_hub3_barcode_image_html<\/code> (the image, for example a PNG for emails).<\/p><\/dd>\n<dt id=\"does%20it%20work%20on%20multisite%3F\"><h3>Does it work on multisite?<\/h3><\/dt>\n<dd><p>Yes. Each site has its own payee and IBAN under Settings &gt; 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.<\/p><\/dd>\n<dt id=\"can%20visitors%20see%20which%20plugin%20makes%20the%20barcode%3F\"><h3>Can visitors see which plugin makes the barcode?<\/h3><\/dt>\n<dd><p>The block has the class <code>hub3-barcode<\/code> 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.<\/p><\/dd>\n<dt id=\"does%20it%20support%20other%20currencies%3F\"><h3>Does it support other currencies?<\/h3><\/dt>\n<dd><p>No. HUB-3 payments in Croatia are in euro, so orders in other currencies do not show a barcode.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First public version.<\/li>\n<\/ul>","raw_excerpt":"HUB3 2D barcode (barkod za pla\u0107anje, HUB-3 uplatnica) for Croatian bank transfers on WooCommerce orders and any page. Light, no outside service.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/407773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=407773"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/hiperlinkdigital"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=407773"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=407773"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=407773"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=407773"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=407773"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=407773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}