Page 21 of 63 FirstFirst ... 11192021222331 ... LastLast
Results 201 to 210 of 626
  1. #201
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,671
    Plugin Contributions
    123

    Default Re: Square WebPay support thread.

    Quote Originally Posted by carlwhat View Post
    how do you know i'm not already doing that? ...
    That's good to hear - the customers in question are not exactly tech savvy and couldn't report on their experience.
    I'm not positive what $error->getCode() is going to return - can we look for this particular message and say something like "try another card?"
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  2. #202
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: Square WebPay support thread.

    one other detail when the url to the square handler is output, it no longer contains https according to this server. Can I assume this was the first problem? I checked square to make sure I had entered it with https and I did for sure.

    I deleted and uploaded the mod again - looks like there was a problem with the upload before but now more sure of all files.

    New error:
    [11-Jul-2022 12:27:31 America/Chicago] PHP Fatal error: Uncaught Error: Class 'Square\Apis\OAuthApi' not found in /includes/modules/payment/square_webPay/square/square/src/SquareClient.php:327
    Stack trace:
    #0 /includes/modules/payment/square_webPay.php(699): Square\SquareClient->getOAuthApi()
    #1 /squareWebPay_handler.php(33): square_webPay->exchangeForToken('sq0cgp-yqknT5yc...')
    #2 {main}
    thrown in /includes/modules/payment/square_webPay/square/square/src/SquareClient.php on line 327

    [11-Jul-2022 12:27:31 America/Chicago] Request URI: /squareWebPay_handler.php?code=sq0cgp-yqknT5ycT7STIC6TiIdI7g&response_type=code&state=365182f3272e192f5b9fee7f9f0c3343 0, IP address: 76.179.90.49
    --> PHP Fatal error: Uncaught Error: Class 'Square\Apis\OAuthApi' not found in /includes/modules/payment/square_webPay/square/square/src/SquareClient.php:327
    Stack trace:
    #0 /includes/modules/payment/square_webPay.php(699): Square\SquareClient->getOAuthApi()
    #1 /squareWebPay_handler.php(33): square_webPay->exchangeForToken('sq0cgp-yqknT5yc...')
    #2 {main}
    thrown in /includes/modules/payment/square_webPay/square/square/src/SquareClient.php on line 327.
    The full-time Zen Cart Guru. WizTech4ZC.com

  3. #203
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,682
    Plugin Contributions
    9

    Default Re: Square WebPay support thread.

    Quote Originally Posted by swguy View Post
    That's good to hear - the customers in question are not exactly tech savvy and couldn't report on their experience.
    I'm not positive what $error->getCode() is going to return - can we look for this particular message and say something like "try another card?"
    can you please email the full log that you are getting?

    i'm not really into giving generic error messages when we should have the exact detail of what went wrong.

    that said, it is entirely possible that i am not providing that detailed message and that getCode and getDetail is not what i expect it to be.

    i certainly am willing to add some notifiers so that you can override the message that goes to the messageStack is that works for you.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  4. #204
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: Square WebPay support thread.

    Quote Originally Posted by swguy View Post
    @carlwhat is maintaining the Square plugin; please don't post information about your fork - it's disrespectful and confusing to new people.
    I will immediately delete such posts.
    so should I go back and delete/overwrite again with the original plugin file? I downloaded that fork.
    The full-time Zen Cart Guru. WizTech4ZC.com

  5. #205
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,682
    Plugin Contributions
    9

    Default Re: Square WebPay support thread.

    Quote Originally Posted by delia View Post
    so should I go back and delete/overwrite again with the original plugin file? I downloaded that fork.
    delia,
    i would re-download it either from the plugins here. or from the source which is here:

    https://github.com/proseLA/square_we...ses/tag/v1.0.1

    i would review the data here:

    https://docs.zen-cart.com/user/payme...-payments-form

    at some point i plan on redoing this handshake with the OAuth token. which is what the handler does. i personally find it problematic as well... i tried modeling it after the original square module, and now i am not really liking it. i had to get a new OAuth token myself the other day, and it took me forever! i think mostly because of the production v sandbox environment.

    unfortunately i can not provide much help. but the idea that you have missing classes suggests to me you have not uploaded all of the code. on my install it finds it finds those classes no problem.

    perhaps someone else can chime on getting the OAuth token.

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  6. #206
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,682
    Plugin Contributions
    9

    Default Re: Square WebPay support thread.

    Quote Originally Posted by swguy View Post
    That's good to hear - the customers in question are not exactly tech savvy and couldn't report on their experience.
    I'm not positive what $error->getCode() is going to return - can we look for this particular message and say something like "try another card?"
    ok, i have simulated a few errors. the details provided on this page:

    https://developer.squareup.com/refer...nums/ErrorCode

    are not available in the response.

    in addition, it seems that the getDetail provides all of the information in the getCode method. so having both of those in the message could look confusing.

    i will look into providing a config option so that a generic message could be chosen rather the specific message as opposed to doing a notifier. and then you can have a choice. hope that works for you.

    when an error comes up here is what one can present back to the customer:

    https://www.dropbox.com/s/vrh971v5ui...thods.png?dl=0

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  7. #207
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: Square WebPay support thread.

    whatever went wrong - I now have it working fine. That was the craziest crap I've ever run into. working between 2 different ftp programs and 2 different OS and weirdness and more weirdness. I'm thinking some caching was the issue somewhere.....
    The full-time Zen Cart Guru. WizTech4ZC.com

  8. #208
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,671
    Plugin Contributions
    123

    Default Re: Square WebPay support thread.

    When this happens:

    Your transaction failed due to an error: (access token expired) The provided OAuth access token has expired. You must renew the access token via the Renew Access Toke via the Renew Access Token Endpoint.

    Can you detect it and email the store owner?
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  9. #209
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,682
    Plugin Contributions
    9

    Default Re: Square WebPay support thread.

    Quote Originally Posted by delia View Post
    whatever went wrong - I now have it working fine. That was the craziest crap I've ever run into. working between 2 different ftp programs and 2 different OS and weirdness and more weirdness. I'm thinking some caching was the issue somewhere.....
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  10. #210
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,682
    Plugin Contributions
    9

    Default Re: Square WebPay support thread.

    Quote Originally Posted by swguy View Post
    When this happens:

    Your transaction failed due to an error: (access token expired) The provided OAuth access token has expired. You must renew the access token via the Renew Access Toke via the Renew Access Token Endpoint.

    Can you detect it and email the store owner?
    you are very demanding....
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 
Page 21 of 63 FirstFirst ... 11192021222331 ... LastLast

Similar Threads

  1. Square Payment Module for Zen Cart [Support Thread]
    By DrByte in forum Addon Payment Modules
    Replies: 749
    Last Post: 5 Sep 2023, 01:16 AM
  2. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 19
    Last Post: 23 Jan 2023, 08:04 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