Page 70 of 80 FirstFirst ... 20606869707172 ... LastLast
Results 691 to 700 of 791
  1. #691
    Join Date
    Jun 2024
    Posts
    91
    Plugin Contributions
    0

    Default Re: Square WebPay not displayed as a payment in checkout

    Quote Originally Posted by jodean View Post
    I just installed Square WebPay but it does not display as an payment option in check out. Snippets of examples attached.
    Have you looked into PayPal Express Checkout policies... It is an activated option in your payment modules.. maybe that negates another choice during checkout?

  2. #692
    Join Date
    Jun 2024
    Posts
    91
    Plugin Contributions
    0

    Default Re: Square WebPay

    Quote Originally Posted by BigB View Post
    When I go to the path location where the error massage says the file is missing... it is indeed missing... it was never uploaded to that location... there is no autoload.php file in there... which makes sense..
    As per the Square WebPay module's FTP files and folder structure it shouldn't be there however for the path you are referring to... yes that file DOES exist there...I have it there in my install for the module on the server for my site...

    What I'm trying to figure out right now is why the error message telling me that there should be an autoload.php file in the location it specifies... it does appear to be a very direct error to this location.. but, the module doesn't say to put that file at the end of the includes/languages/english/modules/payment/xxxx.php path... it wants the file at the end of the includes/modules/payment/square_webPay/autoload.php path....

    Are you suggesting I should remove the current autoload.php file out of where it is supposed to be.... see if the error code goes away... and then perhaps re-upload the file?...
    I think the big booger in the room boils down to this... why am I getting an error code for a missing file in a location that that file is not supposed to be in the first place? It deosn't make sense

    Are there version changes with ZC v2.0.1 that arre so drastically different it requires a different "structure" to file placements for the module?... This is a real conundrum... has anyone else experienced this trying to use this module in ZC 2.0.1?....

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

    Default Re: Square WebPay

    Aside from the error about the missing languages auotoload.php file that's not supposed to be in there to begin with.... my Admin logs display this error:
    PHP Fatal error: Uncaught Error: Class "Unirest\Request" not found in /includes/modules/payment/square_webPay/square/square/src/Apis/BaseApi.php:64
    Stack trace:
    #0 /includes/modules/payment/square_webPay/square/square/src/Apis/OAuthApi.php(22): Square\Apis\BaseApi->__construct()
    #1 /includes/modules/payment/square_webPay/square/square/src/SquareClient.php(327): Square\Apis\OAuthApi->__construct()
    #2 /includes/modules/payment/square_webPay.php(733): Square\SquareClient->getOAuthApi()
    #3 /squareWebPay_handler.php(33): square_webPay->exchangeForToken()
    #4 {main}
    thrown in /includes/modules/payment/square_webPay/square/square/src/Apis/BaseApi.php on line 64


    I see it repeatedly... I have no idea what to be looking for on line 64 of this file... any ideas?

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

    Default Re: Square WebPay

    Quote Originally Posted by BigB View Post
    OK... from what I can see there seems to be the possibilty of a discrepency in File & Folder path structure with Zen Cart v2.0.1 and previous versions...
    In the module package for FTP to the includes section... there are two distinct folder & file paths...

    The 1st path: includes/languages/english/modules/payment/xxxx.php file etc...
    The 2nd path: includes/modules/payment/square_webPay/autoload.php --> according to Zen Cart v2.1.0 error massage... THIS is where the "missing" file is located...

    the Zen Cart error code I have right now in the admin of my v2.0.1 installation reads:
    ERROR: module not loaded due to missing language file: /home/brian670/guitarcourses.briankguitar.com/includes/languages/english/modules/payment/autoload.php

    This is clearly a different path than what the package states... Now... I'm not sure about how to go further to correct the issue... perhaps simply "copy" the autoload.php file over to the other location?... or perhaps this will create even further issues?...
    *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.

  5. #695
    Join Date
    May 2011
    Location
    Tennessee
    Posts
    496
    Plugin Contributions
    0

    Default Re: Square WebPay not displayed as a payment in checkout

    I currently use PayPal since PayPal no longer allows Quest check out with a credit card and replacing PayPal with Square Web Pay. I tried turning off PayPal and Square still does not display as a payment option.

  6. #696
    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...

  7. #697
    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.

  8. #698
    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...

  9. #699
    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...

  10. #700
    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.

 

 
Page 70 of 80 FirstFirst ... 20606869707172 ... LastLast

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 20
    Last Post: 23 Apr 2025, 08:49 AM
  2. Square Payment Module for Zen Cart [Support Thread]
    By DrByte in forum Addon Payment Modules
    Replies: 780
    Last Post: 7 Apr 2025, 02:03 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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR