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.
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.
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With