Barion
Collect payments on the Barion Smart Gateway and charge renewal invoices automatically with a bank card your client saved on Barion.
Reaching the Screen
Go to Settings → Financial → Payment Gateways, open All Modules and click the Barion card: {admin}/modules/payment?module=Barion
Tick Status and save to list the method on the payment step as Pay with Barion. Use Payment Gateways to order the methods clients see.
What Is on the Screen
The card holds your Barion shop key, the receiving wallet, the environment switch, the payment page options and the shared gateway settings.
On the payment step the client sees the amount and a Continue to Barion button. The client pays on Barion's page with a source you allow, then returns to the site.
A bank card can be saved during payment and charged later for renewal invoices. The module does not start subscriptions and offers no installments.
Before You Configure It
- A shop in your Barion account. Its POSKey authorizes every payment, and a shop in Barion's test environment has its own key.
- The e-mail address of the Barion wallet that receives the money.
- Token payments enabled on the shop, if clients should save a card.
- A currency Barion accepts: HUF, EUR, USD, CZK, RON or PLN. For any other currency, use Converting Currency.
Fields
For commission, currency conversion, amount and country limits, see Payment Configuration. Callback URL, Success URL and Failed URL cannot be edited. Each payment sends Barion its own notification address, so there is nothing to register on Barion's side.
Tasks
Connect your Barion shop
- In your Barion account, open the shop you will use and copy its POSKey. Start with a shop in the test environment.
- Open the Barion card under All Modules and tick Status.
- Enter the key in POSKey and the wallet address in Barion Account E-mail. Tick Test Mode.
- Click Save Changes. The method now appears on the payment step.
Run a test payment
- Place a small order as a client and choose Pay with Barion on the payment step.
- Click Continue to Barion and complete the payment on Barion's test page.
- Return to the site. Once Barion confirms the payment, the invoice is marked as paid.
Switch to live
- Copy the POSKey of your live shop.
- Replace POSKey, untick Test Mode and save.
- Repeat the test with a real low-value payment.
Offer saved cards and automatic payment
- Keep Card Storage ticked and enable token payments on your Barion shop.
- A signed-in client ticks Save this payment method for future payments on the payment step and pays by bank card. Ticking Also use it to pay renewal invoices automatically turns on auto-pay.
- The card is listed under Saved Cards in the client's account. With auto-pay on, renewal invoices are charged to it without the client.
To let clients add a card from their account, open Payment Gateways → Initial → Card Storage Module, select Barion and save. The client then approves a one-unit verification payment on Barion's page.
Guests and shared payment links do not see the save option. A wallet or bank transfer payment leaves nothing that can be charged again.
Refund a payment
- Open the invoice from Invoice Detail.
- Under Summary → Change Status, select Refunded and Refund via payment gateway. Click Update Status.
- Barion returns this invoice's payment, minus any amount already refunded, and the invoice is marked as refunded.
Things to Watch
When one Barion payment settled several invoices, only the refunded invoice's share goes back, in the payment's currency. HUF shares are whole forints, other currencies use two decimals. If the share cannot be worked out, nothing is sent and the panel says so. Refund it in your Barion account instead, then mark the invoice Refunded with Add as expense. Version 5.0-beta.4 and earlier refund the whole payment.
A test shop's key belongs to the test environment and collects no money. Cards saved during testing do not exist on the live side. Change POSKey and Test Mode together.
If Barion declines the saved card or asks the cardholder to authenticate again, the automatic charge fails. The invoice stays open and the client can pay it with Pay with Barion.
Required Privileges
Settings require Payment Gateways (MODULES_PAYMENT_SETTINGS). Invoice changes require Billing → Edit (INVOICES_OPERATION).
Related Articles
¡Gracias por sus comentarios!
El equipo de soporte está disponible las 24 horas para ayudarle con lo que no encuentre aquí.