Skip to content
10% off any project with promo code10% off with code

LiqPay for OpenCart: Full Payment Module Integration

Contents
  1. Step 1: register with LiqPay
  2. Step 2: install the module
  3. Step 3: configuration
  4. Step 4: security — verify the signature
  5. Step 5: testing
Published
Reading time
~2 min
Views
125
Reader rating
10 reviews
Author
Yevhen Fostenko
Senior Backend & DevOps Engineer
LiqPay for OpenCart: Full Payment Module Integration Article
Need help with your website?
Describe the task on Telegram — I will assess it and suggest where to start. Reply within a day.
Message on Telegram
Free consultation and estimate. I reply quickly.

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.

Tags: liqpayopencartpaymentswebhookintegration
Need help with your website?
Describe the task on Telegram — I will assess it and suggest where to start. Reply within a day.
Message on Telegram
Free consultation and estimate. I reply quickly.

Related Articles

XML / YML Product Feed Development for OpenCart Article

XML / YML Product Feed Development for OpenCart

To sell on marketplaces and run ads you need a product feed — a structured XML/YML file describing your products. Every platform (Google Merchant, Facebook…

03/06/2026 141

Reader reviews

5.0
Write a review