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.


Please report bugs as Github issues.

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’);


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!
Посмотреть все 15 отзывов

Участники и разработчики

«Barion Payment Gateway for WooCommerce» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:


«Barion Payment Gateway for WooCommerce» переведён на 2 языка. Благодарим переводчиков за их работу.

Перевести «Barion Payment Gateway for WooCommerce» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений


  • 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