Results 1 to 10 of 800

Hybrid View

  1. #1
    Join Date
    Jun 2024
    Posts
    91
    Plugin Contributions
    0

    Default Re: Square WebPay

    Quote Originally Posted by BillJ View Post
    *Each* file in includes/modules/payment (but not subdirectories of that directory) is assumed to be a payment module. If the file autoload.php is in that directory, Zen Cart will try to load it as a payment module and in doing so, will also look for a language file with the same name as the "payment module" file, i.e. autoload.php. The "missing" file (which is not actually missing) is a consequence of having that spurious file in the includes/modules/payment directory. Move it to where it should be and Zen Cart will no longer go looking for a matching language file and things should become a lot less confusing.
    OK... I'll move that file into includes/languages/english/modules/payment/autoload.php
    From what you're saying I'm wondering if I should simply "copy" it over there but, I'll give the file move a go and see what shakes...

  2. #2
    Join Date
    Sep 2013
    Location
    Devon, UK
    Posts
    88
    Plugin Contributions
    1

    Default Re: Square WebPay

    Quote Originally Posted by BigB View Post
    OK... I'll move that file into includes/languages/english/modules/payment/autoload.php
    From what you're saying I'm wondering if I should simply "copy" it over there but, I'll give the file move a go and see what shakes...
    Move it. If you copy it you'll still have the file in the modules/payment directory that is causing the problem.

  3. #3
    Join Date
    Jun 2024
    Posts
    91
    Plugin Contributions
    0

    Default Re: Square WebPay

    Quote Originally Posted by BigB View Post
    OK... I'll move that file into includes/languages/english/modules/payment/autoload.php
    From what you're saying I'm wondering if I should simply "copy" it over there but, I'll give the file move a go and see what shakes...
    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...

  4. #4
    Join Date
    Jun 2024
    Posts
    91
    Plugin Contributions
    0

    Default Re: Square WebPay

    Quote Originally Posted by BigB View Post
    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...
    Back where it was at includes/modules/payment/autoload.php that is...

  5. #5
    Join Date
    Sep 2013
    Location
    Devon, UK
    Posts
    88
    Plugin Contributions
    1

    Default Re: Square WebPay

    Quote Originally Posted by BigB View Post
    This was an adventure... so.. I move the autoload.php file over to includes/languages/english/modules/payment/autoload.php
    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.

  6. #6
    Join Date
    Sep 2013
    Location
    Devon, UK
    Posts
    88
    Plugin Contributions
    1

    Default Re: Square WebPay

    Here's what it looks like in the zip file.
    Click image for larger version. 

Name:	screen.jpg 
Views:	29 
Size:	18.1 KB 
ID:	20656

    Note that only square_webPay.php is in the modules/payment directory. You have autoload.php in there too when it should be one level down in modules/payment/square_webPay

  7. #7
    Join Date
    Jun 2024
    Posts
    91
    Plugin Contributions
    0

    Default Re: Square WebPay

    Quote Originally Posted by BillJ View Post
    Here's what it looks like in the zip file.
    Click image for larger version. 

Name:	screen.jpg 
Views:	29 
Size:	18.1 KB 
ID:	20656

    Note that only square_webPay.php is in the modules/payment directory. You have autoload.php in there too when it should be one level down in modules/payment/square_webPay
    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

  8. #8
    Join Date
    Jun 2024
    Posts
    91
    Plugin Contributions
    0

    Default Re: Square WebPay

    Quote Originally Posted by BigB View Post
    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"...

  9. #9
    Join Date
    Jun 2024
    Posts
    91
    Plugin Contributions
    0

    Default Re: Square WebPay

    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 it I 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.

 

 

Similar Threads

  1. Square Payment Module for Zen Cart [Support Thread]
    By DrByte in forum Addon Payment Modules
    Replies: 820
    Last Post: 16 May 2026, 01:07 AM
  2. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 22
    Last Post: 26 Jan 2026, 06:47 AM
  3. Square Support for SqPaymentForm ending 15th July 2022
    By brittainmark in forum Addon Payment Modules
    Replies: 1
    Last Post: 9 Apr 2022, 02:40 PM
  4. v156 Square Payments and strange request from Square
    By ianhg in forum General Questions
    Replies: 4
    Last Post: 14 Nov 2020, 11:14 AM
  5. v156 PWA, Offline support Push notifications addon [Support Thread]
    By perfumbg in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 23 May 2019, 02:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg