Page 19 of 19 FirstFirst ... 9171819
Results 181 to 186 of 186
  1. #181
    Join Date
    Mar 2006
    Location
    San Francisco, CA
    Posts
    45
    Plugin Contributions
    0

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    Thank you so much, DrByte! That was it -- due to the e-mail error codes we received we were substituting our personal access token for the OAuth application secret and wondering why were weren't seeing the green button to authorize the app. Thank you for highlighting that difference for us. Once we reinstalled the app and tested it, everything is now working perfectly again. Much gratitude to you -- we really appreciate your quick answer, insight and direction!

  2. #182
    Join Date
    Jul 2013
    Location
    Brisbane, Australia
    Posts
    29
    Plugin Contributions
    0

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    Hi. I was hoping someone could please help with an error re the cron job to automatically handle token refreshes.

    Cron job installed via cPanel on server:
    php /home/my_username/public_html/square_handler.php
    Error Log:
    [12-Sep-2018 12:05:02 Australia/Brisbane] PHP Fatal error: Uncaught Error: Class 'square' not found in /home/my_username/public_html/square_handler.php:19
    Stack trace:
    #0 {main}
    thrown in /home/my_username/public_html/square_handler.php on line 19
    Email returned:
    Status: 500 Internal Server Error
    X-Powered-By: PHP/7.0.31
    Access-Control-Allow-Origin: *
    Set-Cookie: cookie_test=please_accept_for_session; expires=Fri, 12-Oct-2018 02:05:02 GMT; Max-Age=2592000; path=/; domain=recoveredheritage.com.au
    Set-Cookie: zcrm_ac08606c3ae64282ac69e5945c47bda5=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=recoveredheritage.com.au
    Content-Type: text/html; charset=utf-8
    My situation:
    Square v0.94 installed successfully and all looks OK in Admin
    ZC1.5.5e (modified with plugins)
    Website: recoveredheritage.com.au. Still under development (maintenance mode currently on but the error persists even when its off).

    Line 19 of that file states
    $square = new square;
    . I tried re-uploading all the SQUARE plugin files in case I missed one in the classes directory somehow - but error persists. As yet, I haven't been able to find a solution or the problem discussed in either the zencart or general community. Can anyone point me in the right direction to resolve this please?

    Thanks.

  3. #183
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    6,783
    Plugin Contributions
    8

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    Getting similar results on four sites, but sporadically. All four cron settings are exactly the same (Other than the username, of course)

    None error every time the cron is run.

    One only throws a debug file occasionally.

    Two throw no debug files but email with different cron errors. Both are 500 errors with different coding.

    One actually resets the mod to false.

  4. #184
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    6,783
    Plugin Contributions
    8

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    Discovered that our 500 errors was that Perl Module for https was not installed on the server for some reason. One was a typo.

    Still can't tell what caused the debug or whether the Perl fix will stop that from happening.

    We will see after cron run.

  5. #185
    Join Date
    Jul 2013
    Location
    Brisbane, Australia
    Posts
    29
    Plugin Contributions
    0

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    Discovered that our 500 errors was that Perl Module for https was not installed on the server for some reason.
    Thank you dbltoe. I appreciate your assistance.

    I'm a real newie here so don't really know what I'm doing...but I tried to muddle my way through. But, my attempt was unsuccessful: same error log generated when cron job ran. Are you able to give more specific instructions?

    Attempt details: My ISP server (inDesign) was showing no Perl modules installed. l looked at the available Perl modules and there's one called Business::OnlinePayment:HTTPS. Installed this. Now the installed Perl includes that one + Net::HTTPS::Any + Tie::IxHash.

    Thanks
    Last edited by GerriM; 12 Sep 2018 at 11:44 PM. Reason: typos corrected, reference quote added

  6. #186
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,139
    Plugin Contributions
    0

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    @DrBytes which .php file generates the call for the text to appear when you start typing in your credit card number?
    Example when start typing 42 I notice the page refresh and visa appears. Notice it’s lower case but their logo is VISA. I notice the same when typing in 52 which shows masterCard and I want it to show MasterCard. Also americanExpress & discover.
    It’s just cosmetic if you have the time please.
    I used the developers tool kit and could not find masterCard & also search in the database with no avail. Is the call embed in hex code?

    With @lat9 help I received this answer.
    On further inspection (aren't demo sites wonderful?), it appears that the text is being added by the Square payment method's jQuery (see /includes/modules/pages/checkout_one/jscript_square.php). The values displayed appear to be coming back from an AJAX call to Square.

    Mark
    Mark
    Hare Do - Does the rabbit beat Zen "never".
    Zen Cart 1.5.5f Update Release

 

 
Page 19 of 19 FirstFirst ... 9171819

Similar Threads

  1. Beanstream Payment Module Support Thread
    By swguy in forum Addon Payment Modules
    Replies: 118
    Last Post: 1 Sep 2018, 10:29 PM
  2. WordPress® for Zen Cart® (wp4zen) [Support Thread]
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 99
    Last Post: 20 Mar 2018, 06:41 PM
  3. v154 Support Thread: AddToAny for Zen Cart (The Universal Sharing Platform)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 6 Jul 2015, 11:05 PM
  4. Layaway Payment Module Support Thread
    By Danielle in forum Addon Payment Modules
    Replies: 32
    Last Post: 4 Nov 2012, 08:01 AM

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