Installation and setup
Requirements
Section titled “Requirements”- CS-Cart and Multi-Vendor 4.17.2 or later.
- Administrator access to the store’s admin panel.
- A Barion account with a shop (POS) and its secret POS key. Barion offers a free test environment (api.test.barion.com) with a separate test account and test shop: create it in Barion first and use it while you set up.
- Your store must be reachable from the internet over HTTPS (TLS 1.2 or newer): Barion sends a callback for every payment.
- A cron job on your server (see step 6).
Install the add-on
Section titled “Install the add-on”- Download the
kv_barion_payments-<version>.zippackage from your Kavio Labs or CS-Cart Marketplace account. - In the admin panel, open Add-ons > Manage add-ons.
- Click the gear button and choose Manual installation, then upload the archive.
- Find Barion Payments in the list and make sure its status is Active.
- Enter your license key under Settings > License (Kavio Labs downloads) and click Check now.
Connect Barion
Section titled “Connect Barion”- Open Orders > Barion (the add-on page) and the Connection tab, or Add-ons > Manage add-ons > Barion Payments > Settings and click Connection.
- Choose Test mode and enter the Payee e-mail (the e-mail address of your Barion wallet that receives the money) and the POS key of your test shop. Save and click Test connection: a green message means Barion accepted the key.
- There is nothing to enter in Barion for notifications: the callback address is sent with every payment. The Callback URL on the page only shows where Barion will call your store.
- Place a test order with a Barion test card or test wallet (see the Barion documentation), then switch to Live mode, enter the payee e-mail and POS key of your live shop and test the connection again.
- Open Administration > Payment methods, add a method, choose the processor Barion and activate it. Choose which payment options the Barion page offers (cards and wallets, with bank transfer, bank card only or bank transfer only).
- Add the cron job from the settings page (Cron section), every minute is fine. Overlapping runs are prevented.
Multi-Vendor
Section titled “Multi-Vendor”By default the marketplace owner connects one account for all vendors (Marketplace owner mode on). Switch it off to let each vendor connect their own Barion account in the vendor panel (Connection tab).
Update
Section titled “Update”- Upload the new package the same way. Your settings, credentials and data are kept.
- The add-on adds missing tables and settings by itself on the first request after the update.
See CHANGELOG for what changed in each version.
Uninstall
Section titled “Uninstall”Open Add-ons > Manage add-ons, click the add-on’s gear button and choose Uninstall. By default the payment and refund records, the queued jobs, the connection and the settings are kept, so you can still refund older orders after installing the add-on again; your payment methods are linked again. To delete them for good, install the add-on, switch on Permanently delete all payment records on uninstall in the settings and uninstall again. Finish open refunds first.
If you update from a version that predates this behavior, upload the new package over the old one; do not uninstall first.