Barion Payment Gateway for WooCommerce


This plugin allows your customers to pay via Barion Smart Gateway in your WooCommerce online store.


  • Adds Barion as a payment option to the WooCommerce checkout page
  • Redirects the user to the Barion payment page after checkout
  • Handles the callback from Barion after payment
    • sets the order status to „processing”, „completed” or „failed” respectively
  • Refund payments via Barion


I’d be happy to hear your feedback! Feel free to contact me at


You’re welcome to contribute to this open source plugin by creating pull-requests on Github. To do this, you need to fork the repository, implement the changes and push them to your fork. After that you can create a pull request to merge changes from your fork the main repository.

Note: Until April 2024, the plugin was developed by Peter Szel. Subsequently, Aron Ocsvari took over the maintenance and bug fixing of the plugin.

Premium Options

Full Barion Pixel

If you want to pay less commission on card payments, you need the full implementation of Barion Pixel. A paid extension is available for this purpose. More information can be found here: Barion Pixel for WooCommerce
You can read more about Barion Pixel in the following blog post (in Hungarian): Full Barion Pixel for WooCommerce Stores.


Please report bugs as Github issues., or send me an email to ugyfelszolgalat (at) bitron (dot) hu.

Barion and the Barion logo are trademarks or registered trademarks of Sense/Net Inc.

WooCommerce and the WooCommerce logo are trademarks or registered trademarks of Bubblestorm Management (Proprietary) Limited trading as WooThemes.

Privacy Policy

If you choose to sign up to the newsletter, the following data will be collected: admin email address, the current user’s name and email address, the URL of your blog, the locale of the blog and the IP address of the currently logged in user. We use the collected data to send newsletters occasionally.
The collected data is deleted upon request and will not be shared.


  • Settings on the WooCommerce Settings > Checkout page
  • Barion as a payment method


Minimum Requirements

  • WooCommerce 3.0 or later
  • WordPress 4.0 or later
  1. The recommended way to install the plugin is through the „Plugins” menu in WordPress
    • Navigate to Plugins > Add New > Search for „barion”, you should already see this plugin
    • Hit „Install Now”, then enable the plugin
  2. Click on the menu item „WooCommerce” then select the „Checkout” tab
  3. Click on the new submenu item named „Barion”
  4. On this page you should set the POSKey of the shop and your Barion email address
  5. Should you want to use the test envorinment, select it from the Barion Environment dropdown. You’ll need to create a shop on the Barion test page.
  6. Enable the payment method if you’re ready to use Barion


How to disable the Barion Pixel for certain pages?

You can use the woocommerce_barion_disable_tracking hook, like this:


add_filter(‘woocommerce_barion_disable_tracking’, ‘disable_barion_pixel_for_editor’);

function disable_barion_pixel_for_editor() {
return current_user_can(‘edit_posts’);


A pénztároldalon megjelenik a Barion logo amivel nem is lenne semmi baj, de sajnos kattintható. Ha valaki véletlen rákattint, akkor átkerül a Barion oldalára. A linket nem lehet kivenni. A support nem válaszol a levelekre. A bővítményt inkább kikapcsoltam és másik szolgáltatóra váltottam.
Ritkán van olyan, hogy egy ingyenes plugin azt csinálja amit ígér és nem dugnak semmit el paywall mögé. Ez szerencsére a kivétel.
Great plugin! Really easy to set up, and works flawlessly. Thank you very much for your work!
16 (az összes) vélemény olvasása

Közreműködők és fejlesztők

“Barion Payment Gateway for WooCommerce” egy nyílt forráskódú szoftver. A bővítményhez a következő személyek járultak hozzá:


“Barion Payment Gateway for WooCommerce” 2 nyelvre lett lefordítva. Köszönet a fordítóknak az áldozatos munkájukért!

“Barion Payment Gateway for WooCommerce” fordítása a saját nyelvünkre.

Érdekeltek vagyunk a fejlesztésben?

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

Változási napló


  • Display payment method name alongside the logo


  • Added support for HPOS compatibility
  • Added support for checkout blocks
  • Small bug fixes


  • Update cert file


  • Compatible with WooCommerce 4
  • Added filter for disabling Barion Pixel
  • Fixed PHP Notice for missing property on the request class
  • Fixed PHP Notice in case ‘environment’ setting is not set


  • Fixed the case when the shipping/billing address or region is empty


  • Added support for 3D Secure payment
  • Added basic support for Barion Pixel
  • Updated shipping address to match the new model
  • Added PayerPhoneNumber to the Barion request to enable „bank buttons” on Barion
  • Updated language support, added Greek language
  • Updated Barion library to v1.4.2


  • Fixed floating point precision bug
  • Fixed bug in case of changed payment method


  • Added Czech language and CZK support


  • Added newsletter signup


  • Cancelling payment on the Barion page will redirect the customer to the cart page (default) instead of the order received page
  • Updated test credit card details


  • Ignoring Barion callback in case the payment was already completed.


  • Changed the text domain to match the slug.


  • Added option to select the order state after a successful payment
  • Fixed dropdown heigh issue


  • Updated Barion Library to the latest version
  • Added supported languages (DE, SL, SK, FR)
  • Substituted deprecated function calls with current ones


  • Updated Barion Library to the latest version


  • Added link to the icon on the checkout page


  • Added support for EUR/USD payment


  • Added Refund payment via Barion.
  • Fixed localization.
  • Fixed small bugs.


  • Disabling the gateway in case of unsupported currency selected.
  • Sending variation attributes to Barion in case of Variable product.


  • Cleanup + added a more descriptive description to the admin page.
  • Added coupons as items to the Barion transaction.
  • Modified shipping cost calculation to allow multiple shipping items.


  • Added Barion card payment banner to the checkout page.
  • Various small bugfixes
  • Fixed missing localization realm for order unit.


  • Made the plugin ready by adding a readme.txt and moving stuff around.
  • Added build script to create release and upload zip file.
  • Added build scripts to make the release process easier.


  • Added Barion payment gateway
  • Added Barion prepare and redirect calls done.
  • Created project structure
  • Added Barion PHP library as a submodule.
  • Available in English and Hungarian