Page 28 of 67 FirstFirst ... 18262728293038 ... LastLast
Results 271 to 280 of 662
  1. #271
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,690
    Plugin Contributions
    9

    Default Re: Square WebPay support thread.

    Quote Originally Posted by pazdar View Post
    Thanks, I went through them, still not working. Here's what I'm seeing:

    ALERT: Access Token not set:
    1. Make sure the OAuth Redirect URL in your Square Account "app" is set to

    https://www.pazd..........

    I've double checked and the handler file is in the main directory
    have you done this part here:

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

    your access token is bad...
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  2. #272
    Join Date
    Jan 2008
    Posts
    155
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    Yes, I get this:

    ALERT: Access Token not set:
    1. Make sure the OAuth Redirect URL in your Square Account "app" is set to

    https://www.pazdarwinery.com/squareWebPay_handler.php


    2. And then (click on green button)

    I do that and I get a blank screen with this address:

    https://www.pazdarwinery.com/squareW...1f13ed7ce4#_=_

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

    Default Re: Square WebPay support thread.

    Quote Originally Posted by pazdar View Post
    Yes, I get this:

    ALERT: Access Token not set:
    1. Make sure the OAuth Redirect URL in your Square Account "app" is set to

    https://www.pazdarwinery.com/squareWebPay_handler.php


    2. And then (click on green button)

    I do that and I get a blank screen with this address:

    https://www.pazdarwinery.com/squareW...eoKhtX9W2pZCxg
    i'm getting a 500 response code from your site and the squareWebPay_handler. which indicates some sort of server issue.

    do you have any logs?

    i would also look in the handler for the $verbose = false; and change that to $verbose = true;
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  4. #274
    Join Date
    Nov 2006
    Posts
    108
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    After uploading the files I get the following error in the log files:
    PHP Fatal error: Uncaught Error: Class "Square\Environment" not found in MY_PATH/includes/modules/payment/square_webPay.php:105
    Stack trace:
    #0 /MY_PATH/modules.php(204): square_webPay->__construct()
    #1 /: require('/home/tim/zenca...')
    #2 {main}
    thrown in /MY_PATH/includes/modules/payment/square_webPay.php on line 105

    There appears no webpay module in Modules->Payment.

    php Version is 8.0
    Zen Cart 1.5.7d

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

    Default Re: Square WebPay support thread.

    Quote Originally Posted by todoonada View Post
    After uploading the files I get the following error in the log files:
    PHP Fatal error: Uncaught Error: Class "Square\Environment" not found in MY_PATH/includes/modules/payment/square_webPay.php:105
    Stack trace:
    #0 /MY_PATH/modules.php(204): square_webPay->__construct()
    #1 /: require('/home/tim/zenca...')
    #2 {main}
    thrown in /MY_PATH/includes/modules/payment/square_webPay.php on line 105

    There appears no webpay module in Modules->Payment.

    php Version is 8.0
    Zen Cart 1.5.7d
    you have not properly uploaded all the files in the zip. specifically the directory here:

    /MY_PATH/includes/modules/payment/square_webPay/

    there are a number of directories and more files there. those are all required.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  6. #276
    Join Date
    Jan 2008
    Posts
    155
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    I tried setting it to "true"

    Here is the error report I get:

    [14-Oct-2022 14:10:32 America/Boise] SQUARE TOKEN REQUEST - auth code for exchange: sq0cgp-kqtdUqf6zPos4IikZi1WFQ

    Array
    (
    [code] => sq0cgp-kqtdUqf6zPos4IikZi1WFQ
    [response_type] => code
    [state] => 932ee36d66d8eff178bf665e995eebc55857a15ee927e385822656fe450d2cbd
    [main_page] => index
    )

    [14-Oct-2022 14:10:32 America/Boise] 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(Object(Square\SquareClient), Array, NULL)
    #1 /includes/modules/payment/square_webPay/square/square/src/SquareClient.php(327): Square\Apis\OAuthApi->__construct(Object(Square\SquareClient), Array, NULL)
    #2 /includes/modules/payment/square_webPay.php(694): Square\SquareClient->getOAuthApi()
    #3 /squareWebPay_handler.php(33): square_webPay->exchangeForToken('sq0cgp-kqtdUqf6...')
    #4 {main}
    thrown in /includes/modules/payment/square_webPay/square/square/src/Apis/BaseApi.php on line 64

    [14-Oct-2022 14:10:32 America/Boise] Request URI: /squareWebPay_handler.php?code=sq0cgp-kqtdUqf6zPos4IikZi1WFQ&response_type=code&state=932ee36d66d8eff178bf665e995eebc5 5857a15ee927e385822656fe450d2cbd, IP address: 69.206.192.57
    --> 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(Object(Square\SquareClient), Array, NULL)
    #1 /includes/modules/payment/square_webPay/square/square/src/SquareClient.php(327): Square\Apis\OAuthApi->__construct(Object(Square\SquareClient), Array, NULL)
    #2 /includes/modules/payment/square_webPay.php(694): Square\SquareClient->getOAuthApi()
    #3 /squareWebPay_handler.php(33): square_webPay->exchangeForToken('sq0cgp-kqtdUqf6...')
    #4 {main}
    thrown in /includes/modules/payment/square_webPay/square/square/src/Apis/BaseApi.php on line 64.

  7. #277
    Join Date
    Nov 2006
    Posts
    108
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    Quote Originally Posted by carlwhat View Post
    you have not properly uploaded all the files in the zip. specifically the directory here:

    /MY_PATH/includes/modules/payment/square_webPay/

    there are a number of directories and more files there. those are all required.
    I uploaded all files, so missing files were not the problem.
    I found the reason why I can not see the WebPay module and get aforementioned error:
    When I am on PHP-version 8.0.17 I get an error.
    Switching to PHP 7.4.28, I do not get an error and the module shows up.

  8. #278
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,690
    Plugin Contributions
    9

    Default Re: Square WebPay support thread.

    Quote Originally Posted by todoonada View Post
    I uploaded all files, so missing files were not the problem.
    I found the reason why I can not see the WebPay module and get aforementioned error:
    When I am on PHP-version 8.0.17 I get an error.
    Switching to PHP 7.4.28, I do not get an error and the module shows up.
    i have an already installed version of square web pay on my development server. if i switch my dev box to run php 8.0.20, i am able to process orders without problem. according to the square docs, the api version i used is good up to square 8.0.

    if i click remove and remove the square webPay module, zc removes the module no problem. and it still shows up. i am then able to re-install it.

    again, my dev machine is running v157 (latest codebase) and php 8.0.20.

    your error above suggests a missing class file. specifically:

    includes/modules/payment/square_webPay/square/square/src/Environment.php.

    in fact, if i remove that file from my system, i receive the following error:

    Code:
    [14-Oct-2022 17:14:41 America/Los_Angeles] PHP Fatal error:  Uncaught Error: Class "Square\Environment" not found in /var/www/zcdev/includes/modules/payment/square_webPay.php:107
    Stack trace:
    #0 /var/www/zcdev/admin/modules.php(204): square_webPay->__construct()
    #1 /var/www/zcdev/admin/index.php(11): require('...')
    #2 {main}
      thrown in /var/www/zcdev/includes/modules/payment/square_webPay.php on line 107
    
    [14-Oct-2022 17:14:41 America/Los_Angeles] Request URI: /admin/index.php?cmd=modules&set=payment, IP address: 192.168.14.74
    --> PHP Fatal error: Uncaught Error: Class "Square\Environment" not found in /var/www/zcdev/includes/modules/payment/square_webPay.php:107
    Stack trace:
    #0 /var/www/zcdev/admin/modules.php(204): square_webPay->__construct()
    #1 /var/www/zcdev/admin/index.php(11): require('...')
    #2 {main}
      thrown in /var/www/zcdev/includes/modules/payment/square_webPay.php on line 107.
    looks pretty similar to your error. in fact, i would say the same.

    i am happy that you got it working. but for anyone reading this thread, this module has been tested on php 8.0 and this module works without issue on that version of php.

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

  9. #279
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,690
    Plugin Contributions
    9

    Default Re: Square WebPay support thread.

    @pazdar

    on your square dashboard, what version of the api are you using?

    you should be on:

    API version
    2022-02-16

    i am not sure if that is your problem, but i would start there.

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

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

    Default Re: Square WebPay support thread.

    Quote Originally Posted by pazdar View Post
    --> PHP Fatal error: Uncaught Error: Class 'Unirest\Request' not found in /includes/modules/payment/square_webPay/square/square/src/Apis/BaseApi.php:64
    is this file on your server:

    includes/modules/payment/square_webPay/apimatic/unirest-php/src/Unirest/Request.php
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 
Page 28 of 67 FirstFirst ... 18262728293038 ... 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