Croatian payment slip generator for WooCommerce

Description

Make it easy for your customers from Croatia to perform direct bank transfer with generated payment slip, along with barcode for mBanking.

This plugin adds to the WooCommerce new payment gateway which is actually customization of Direct Bank Transfer payment option applicable for customers from the Republic of Croatia.
By installing, activating and enabling this payment gateway users are able to select payment options that offers them following:

  • generated and pre-filled payment slip document which can be downloaded and printed, and then brought to any bank or post-office for making payment
  • aforementioned payment slip also contains barcode which can be scanned through many apps for mobile banking in Croatia, thus making the payment process much faster and easier

Translations:

  • Croatian
  • English

Requirements

The following PHP modules have to be installed and enabled:
– bcmath
– fileinfo
– gd
– mbstring

Special thanks to

Screenshots

  • Additional payment option is displayed on the checkout page and can be selected.
  • After user selects that option and proceeds to the payment, image of the payment slip, filled with previously-entered customer's data, is being shown. The same image is also sent to the customer via Email.
  • All fields (along with various other properties) can be set through settings page of this payment gateway that is located within WooCommerce Admin Dashboard.
  • All fields (along with various other properties) can be set through settings page of this payment gateway that is located within WooCommerce Admin Dashboard.

Installation

This section describes how to install the plugin and get it working.

  1. Install the plugin using WordPress plugin search under WordPress admin area or upload it manually to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress admin area

FAQ

Where can I report bugs or contribute to the project?

Report bugs on the issue tracker of this plugin on GitHub. You can also report them in support forum.
You can follow and join the development process of this plugin on its GitHub repository.

How to handle order prices in different currency, so they could be converted to the prices corresponding to the currency on the payment slip?

In your functions.php file you should add function to the filter ‘wooplatnica-croatia_order’ that would perform conversion of the order price (which could be extracted from the object of class WC_Order passed as a first/only function argument) and would return instance of WC_Order class with updated field values.

Reviews

October 15, 2019
Since all my customers are from Croatia, finally I can replace default 'Direct bank transfer' payment option that was totally inconvenient and was putting a lot of manual work on customer - thus probably often resulted in cancelation of initially intended payment. Embedded barcode on the payment slip makes payment process even more easier and leaves an impression of professionalism and confidentiality for the web-shop.
October 15, 2019
Super plugin koji nama u Hrvatskoj olakšava plaćanja preko računa jednostavnim skeniranjem 2D barkoda
Read all 3 reviews

Contributors & Developers

“Croatian payment slip generator for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

“Croatian payment slip generator for WooCommerce” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Croatian payment slip generator for WooCommerce” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.5

  • Fix preview of payment slip image on the checkout page
  • Fix bug causing missing payment slip image in the e-mail message
  • Fix inability to download payment slip image on Internet Explorer & Edge
  • Add selection of image type for generated payment slip image

1.4

  • Add select options representing all payment models from HR00 to HR99
  • Add header above group of form elements independent to any payment slip type
  • Add payment slip insertion when order status is changed to the initial state

1.3

  • Add more whitespace between barcode and borders of the barcode area on payment slip so laser barcode scanners can successfully load its data
  • Change payment slip template image size so the payment slip when printed is of actual size as the original one
  • Add option to select between national and universal payment slip type
  • Add option to exclude confirmation part from payment slip
  • Fix division of address components for displaying on payment slip when customer selects R1 invoice and when enters address containing ordinal number. At example, when address was “Ulica 7. gardijske brigade 4 Zagreb”, that was until now split to:
    Ulica 7
    . gardijske brigade 4 Zagreb

    and actually it should be:
    Ulica 7. gardijske brigade 4
    Zagreb

1.2

  • Replace order id with custom order number for payment reference number
  • Display payment slip for order in order history
  • Use instructions in order page instead of payment gateway description
  • Display company info on payment slip when specified (if plugin for R1 invoices is installed)
  • Improve performance when loading order page

1.1

  • Fix value interpolation of date placeholders in callout/reference number
  • Allow using placeholders like %order% in Payment description field
  • Fix bug causing that the downloaded image does not have valid filetype
  • Add font selection for text that won’t be displayed in fields with grid

1.0

  • Initial upload