02.06.2026
84
1 min read

LiqPay for OpenCart: Full Payment Module Integration

LiqPay for OpenCart: Full Payment Module Integration
Contents

    LiqPay is the most widely used payment provider in Ukraine. Connecting it to OpenCart takes 30–60 minutes once you know the order of operations.

    Step 1: register with LiqPay

    Sign up at liqpay.ua and create a store under the business section. You will receive a public_key and a private_key — keep them safe.

    Step 2: install the module

    Download the official module from GitHub (liqpay/plugin-opencart). Unpack it and copy the files into your OpenCart directory:

    catalog/model/payment/liqpay.php
    catalog/controller/payment/liqpay.php
    admin/model/payment/liqpay.php
    admin/controller/payment/liqpay.php

    In the admin: Extensions → Extensions → Payment → LiqPay → Install → Edit.

    Step 3: configuration

    Enter the public and private keys. Set the server URL (callback):

    https://yourstore.com/index.php?route=payment/liqpay/callback

    Step 4: security — verify the signature

    LiqPay signs its callback requests. The module verifies that signature:

    $sign = base64_encode(sha1($private_key . $data . $private_key, true));
    if ($sign !== $_POST["signature"]) { die("Invalid signature"); }

    Step 5: testing

    In sandbox mode use the test card 4242 4242 4242 4242. Confirm that a successful payment changes the order status automatically.

    Want a hand? Order LiqPay integration for OpenCart.

    Related Articles
    Write a review
    Please login or register to review