Hello forum,
I am trying to multiply the bank payments (opencart 3.0.2.0).
At first I try to copy the files under admin and catalog > (model, view, language...)/extensions/payment/ ()
and paste them with different name like banktransfer2.php and banktransfer3.php
then I tried to replace inside of each file the words bank_transfer with bank_transfer2 and bank_transfer3.php
However when I finish and try to edit the payment in the admin section in my website I get http 500 error page not working.
What am I doing wrong. Thank anyone in advance for the help.
I am trying to multiply the bank payments (opencart 3.0.2.0).
At first I try to copy the files under admin and catalog > (model, view, language...)/extensions/payment/ ()
and paste them with different name like banktransfer2.php and banktransfer3.php
then I tried to replace inside of each file the words bank_transfer with bank_transfer2 and bank_transfer3.php
However when I finish and try to edit the payment in the admin section in my website I get http 500 error page not working.
What am I doing wrong. Thank anyone in advance for the help.
Last edited by broopenc3 on Fri Jun 15, 2018 10:15 pm, edited 1 time in total.
No OC version posted. Check your server access logs for the recent errors of 500.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
You need to change also in .twg files...
LE. Try now
LE. Try now
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
I did. I think it is the following list (correct me if I miss something):
Admin
/admin/controller/extension/payment
/admin/language/en-gb/extension/payment
/admin/view/template/extension/payment
Catalog
/catalog/controller/extension/payment
/catalog/language/en-gb/extension/payment
/catalog/model/extension/payment
Forgot to mention the TWIG debug tool from the Marketplace which also helps.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Opencart 3 (included in the title)straightlight wrote: ↑Fri Jun 15, 2018 9:27 pmNo OC version posted. Check your server access logs for the recent errors of 500.
But you are right. I will edit the post and include it.
Useful tip. I will check the server logs. Thank you
I made you bank transfer 2 ocmod...just install and work.
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Hello,
Thanks for awesome extension.
I download your files and upload to my OC Version 3.0.2.0 directory this work perfect for bank transfer2, I need more bank transfers I replace transfer2 to transfer3 in all files and save the file with transfer3. This show in payment extension so I add the extension but when click on edit icon then blank page appear. Please help how to copy for many bank transfers.
Thanks!
The most I can do is to say that you can edit the files and change every variable name or file name that ends with 2 and replace 2 with 3 (not only the transfer# variables). However, when I tried to create the files myself I failed but maybe I am stup... hmmm I mean I did something wrong. I hope I helped. Cheers!Arsons.Knife wrote: ↑Sat Jul 28, 2018 4:53 amHello,
Thanks for awesome extension.
I download your files and upload to my OC Version 3.0.2.0 directory this work perfect for bank transfer2, I need more bank transfers I replace transfer2 to transfer3 in all files and save the file with transfer3. This show in payment extension so I add the extension but when click on edit icon then blank page appear. Please help how to copy for many bank transfers.
Thanks!
Who is online
Users browsing this forum: No registered users and 425 guests