Skip to content

Make it easy for your customers from Croatia to perform direct bank transfer with generated and pre-filled payment slip, along with mobile banking by simple barcode scanning

License

Notifications You must be signed in to change notification settings

blivic/Croatian-payment-slip-generator-for-WooCommerce

 
 

Repository files navigation

Banner of 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

This plugin requires at least PHP version 5.6. Also the following PHP modules have to be installed and enabled:

  • bcmath
  • fileinfo
  • gd
  • mbstring

Installation

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

  1. Upload code of this plugin (or source code of this repo along with all required dependencies fetched by calling composer install) to the /wp-content/plugins/ directory or install it under WordPress admin area
  2. Activate the plugin through the 'Plugins' menu in WordPress

Screenshots

Additional payment option is displayed on the checkout page and can be selected
payment option on checkout page
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
payment slip and barcode preview
All fields (along with various other properties) can be set through settings page of this payment gateway that is located within WooCommerce Admin Dashboard payment option settings part 1
payment option settings part 2

Frequently Asked Questions

Q: Where can I report bugs or contribute to the project?

A: You can report bugs on issue section of this repo or in WordPress plugin support forum.


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

A: 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.

Special thanks to

External links

About

Make it easy for your customers from Croatia to perform direct bank transfer with generated and pre-filled payment slip, along with mobile banking by simple barcode scanning

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%