Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Payment Gateway integration in Opencart

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.

like image 409
user1534520 Avatar asked Jul 18 '12 11:07

user1534520


People also ask

How do I add a payment method to OpenCart 3?

This can be easily done via the OpenCart admin panel. To start, please login into your OpenCart admin panel and refer to the Extensions → Payments menu. On the Payments page you will see a list of all supported payment options.

How do I add PayPal to OpenCart?

Set up PayPal Smart Button moduleLog in to the OpenCart admin panel. Go to Extension > Modules > PayPal Smart Button. Select the green button to install the module.

How do I add Google pay to OpenCart?

Go to the OpenCart control panel and select Extensions > Extensions. Select “Payments” in the “Choose the extension type” dropdown, find Fondy in the “Payment Method” list, and click “Edit”. Enter your Fondy Merchant ID and Payment Key, which you will find in the merchant's technical settings in the Fondy account.


1 Answers

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

like image 78
Naveenbos Avatar answered Oct 13 '22 09:10

Naveenbos