Skip to content

OpenCart

| View as Markdown

This guide is for the integration of OpenCart (shopping cart) backend with airpay for the accepting payments. Download OpenCart Kit and follow the installation steps. If steps correctly followed, the installation will be successful.

Opencart Installation steps:

step 1: Copy the airpay.php file from admin/controller/extension/payment/ (from plugin) to admin/controller/extension/payment/airpay.php(to opencart installation).
step 2: Copy the airpay.php file from admin/language/en-gb/extension/payment/(from plugin) to admin/language/en-gb/extension/payment/airpay.php(to opencart installation).
step 3: Copy the airpay.twig file from admin/view/template/extension/payment/(from plugin) to admin/view/template/extension/payment/airpay.twig(to opencart installation).
step 4: Copy the airpay.php file from admin/controller/extension/payment/(from plugin) to admin/controller/extension/payment/airpay.php(to opencart installation).
step 5: Copy the airpay.php file from catalog/controller/extension/payment/(from plugin) to catalog/controller/extension/payment/airpay.php(to opencart installation).
step 6: Copy the response.php file from catalog/controller/common(from plugin) to catalog/controller/common/response.php (to opencart installation).
step 7: Copy the airpay.php file from catalog/language/en-gb/common/(from plugin)to catalog/language/en- gb/common/airpay.php (to opencart installation).
step 8: Copy the airpay.php file from catalog/language/en-gb/extension/payment/ (from plugin) to catalog/language/en-gb/extension/payment/ airpay.php (to opencart installation).
step 9: Copy the airpay.php file from catalog/model/extension/payment/(from plugin)to catalog/model/extension/payment/airpay.php (to opencart installation).
step 10: Copy the response.twig file from catalog/view/theme/default/template/common/ (from plugin) to catalog/view/theme/default/template/common/ response.twig (to opencart installation).
step 11: Copy the airpay.twig file from catalog/view/theme/default/template/extension).
step 12: Copy the payment_method.twig file from catalog/view/theme/default/template/checkout/payment_method.twig (to opencart installation).
step 13: Copy the payment_method.php file from catalog/controller/checkout/ (from plugin) to catalog/controller/checkout/payment_method.php (to opencart installation).
step 14: Copy the payment_method.php file from catalog/controller/checkout/(from plugin)to catalog/controller/payment_method.php (to opencart installation).
step 15: To enable airpay payment gateway, go to Opencart -> Extensions -> Extensions-> Payments.
step 16: Install airpay payment method.