This was an adventure... so.. I move the autoload.php file over to includes/languages/english/modules/payment/autoload.php and I lost every payment module except for the two Authorize.net modules... being as this has happened... I figured I would try "copying" the file back over to whence it came (I figure why not, right?...)... all the payment modules re-appear EXCEPT for the Sqaure webPay
So I then decided to just place the autoload.php file back where it was at includes/languages/english/modules/payment/autoload.php and... the Square WebPay module re-appears again with all the other payment modules... go figure...![]()
Sorry, I had missed earlier that you said that's where you were planning to move it to. That's the wrong place.
It needs to go in includes/modules/payment/square_webPay/autoload.php.
That's where it is in the module directory structure as it comes in the zip file. i.e. one level down from where you have it at the moment. Unzip the file you downloaded and browse the directories in it to see what I mean.
The mention of the "missing" language file (that doesn't exist and shouldn't exist) is simply a consequence of Zen Cart trying to make sense of the misplaced file.
Last edited by BillJ; 16 Jun 2024 at 09:53 PM.
Thank you for that information... I have the auotload.php file back where it should be in includes/modules/payment/square_webpay directory... and..
perhaps there is some light at the end of the tunnel with this conundrum.. with help from y'all here on the forum... which I sincerely appreciate
I have the square_webPay.php file in the includes/modules/payment directory BUT... I also have another file that's a text/x-generic file without the .php on the end... it's name is square_webPay sitting in there alongside the square_webPay.php file... The contents of this file:
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInitfafb29fe5f8dc595bfe1ebb15dd8a771::getLoader();
Right now I'm in the process of tracking down where/which directory this file is supposed to be... I must have uploaded it to this directory by mistake... I'm looking through the Square_WebPay Module's upload package to see if I can locate where it needs to be so I can move it over to the correct location... Hopefully, this will fix this issue![]()
Well... I am unable to find this file anywhere in the modules files for upload... nowhere can I find this file... which I'm finding strange and daunting... Where the heck did this file come from?... I'm leaning towards deleting it... save it to my machine and jettison it from the includes/modules/payment directory... How could it hurt?
I must admit, I'm close to the point of going to the backup I did before uploading this module and searching thru Square's other methods of setting up payments right to each individual page... It's bean a week of trying to get this to go... I have to ask myself " how much more time should I spend trying to resolve this"...
Update... Decided to try one last time and completely S%!t Canned the module... deleted all directories and files and performed a full Re-Install and FTP'd the booger back in...
I was able to configure and authorize itI obviously uploaded something wrong the first time. Now I'll sand-box it and see if it does what I need it to do..
Thanks to all who offered up their suggestions and guidance... I sincerely appreciate the help![]()
Last edited by BigB; 18 Jun 2024 at 02:36 AM.