Payment Gateway integration in Opencart

opencart, payment-gateway, payment-processing, php

Solution

You can edit and modify these files:

/var/www/opencart/catalog/controller/payment
/var/www/opencart/catalog/model/payment
/var/www/opencart/catalog/view/theme/

You can see two folder default and other one you can place it in that other folder in that folder should have template/payments here you have put your .tpl file - PHP MVC.

Then take your admin:

/var/www/opencart/admin/controller/payment

Here you can see other payment file you have to place your admin controller file here, here you can put your admin view file `/var/www/opencart/admin/view/template/payment` then take your `localhost/opencart/admin` here you can see the `extensions->payments` here you can see the available payments and your file, you can install/uninstall from here

Problem

I want to integrate CitrusPay (An indian payment gateway) in my opencart application. I have received a PHP integration kit but don't know where to start in opencart. Please let me know how to add Citruspay as a payment method.

Original source