Barion

59 visualizzazioni Markdown

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

StatusTurns the module on. While it is off the other fields stay locked and clients are never offered the method.
POSKeyRequired. The secret key of your Barion shop. The test shop and the live shop have different keys.
Barion Account E-mailRequired. The wallet that receives the money. Every transaction is addressed to it.
Test ModeSends every request to Barion's test environment, where no money moves. Off by default.
Allowed Funding SourceThe source clients may use on Barion's page: bank card, Barion wallet balance, bank transfer, Apple Pay or Google Pay. The default, All available sources, lets the client choose.
Payment WindowHow long a prepared payment stays payable on Barion's page, as HH:MM:SS. The default is 00:30:00, and an invalid entry falls back to it.
Card StorageLets clients save a bank card so renewal invoices can be charged automatically. On by default. Token payments must be enabled on your Barion shop.

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

  1. In your Barion account, open the shop you will use and copy its POSKey. Start with a shop in the test environment.
  2. Open the Barion card under All Modules and tick Status.
  3. Enter the key in POSKey and the wallet address in Barion Account E-mail. Tick Test Mode.
  4. Click Save Changes. The method now appears on the payment step.

Run a test payment

  1. Place a small order as a client and choose Pay with Barion on the payment step.
  2. Click Continue to Barion and complete the payment on Barion's test page.
  3. Return to the site. Once Barion confirms the payment, the invoice is marked as paid.

Switch to live

  1. Copy the POSKey of your live shop.
  2. Replace POSKey, untick Test Mode and save.
  3. Repeat the test with a real low-value payment.

Offer saved cards and automatic payment

  1. Keep Card Storage ticked and enable token payments on your Barion shop.
  2. 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.
  3. 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

  1. Open the invoice from Invoice Detail.
  2. Under Summary → Change Status, select Refunded and Refund via payment gateway. Click Update Status.
  3. Barion returns this invoice's payment, minus any amount already refunded, and the invoice is marked as refunded.

Things to Watch

A combined payment is refunded per invoice

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.

Test and live shops are separate

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.

An automatic charge can need the cardholder

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).

Ti è stato utile?

Grazie per il tuo feedback!

Hai ancora bisogno di aiuto?

Il team di assistenza è disponibile 24 ore su 24 per aiutarti a trovare le risposte che cerchi.