Page 26 of 36 FirstFirst ... 162425262728 ... LastLast
Results 251 to 260 of 358
  1. #251
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    8,836
    Plugin Contributions
    118

    Default Re: Square WebPay support thread.

    @proseLA - I'm adding this to the documentation unless you have objections:


    Run a cron job every 3 days with the command

    /usr/bin/wget https://YOURSTORE/squareWebPay_handler.php
    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. #252
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,384
    Plugin Contributions
    9

    Default Re: Square WebPay support thread.

    Quote Originally Posted by swguy View Post
    @proseLA - I'm adding this to the documentation unless you have objections:


    Run a cron job every 3 days with the command

    /usr/bin/wget https://YOURSTORE/squareWebPay_handler.php
    if that works for people, that would be great.
    mxWorks now has premium plugins
    are you using square? have you shown any appreciation with cake on venmo or on paypal?
    called the savior by the chief bottle washer...

  3. #253
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    8,629
    Plugin Contributions
    9

    Default Re: Square WebPay support thread.

    Quote Originally Posted by swguy View Post
    Run a test order to be sure it truly works?
    Actually, i just go to the mod, click on edit, and then click on update.

    I've found that action alone will let you know if things are not right.

    BTW, I had specifically left this site without a cron to see when and if it would drop.

  4. #254
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    8,836
    Plugin Contributions
    118

    Default Re: Square WebPay support thread.

    @carlwhat thanks.
    @dbltoe thanks for that - I'll advise using one of these two methods.
    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.

  5. #255
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    8,836
    Plugin Contributions
    118

    Default Re: Square WebPay support thread.

    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.

  6. #256
    Join Date
    Mar 2005
    Location
    United Kingdom
    Posts
    594
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    Having another go at installing this version. I notice this warning was in an earlier post but as it wasn't the main issue it never got addressed.

    PHP Code:
    [06-Sep-2022 16:00:53 Europe/LondonRequest URI: /...../admin/index.php?cmd=orders&page=1&oID=31216&action=editIP addressxxx.xxx.xxx.xxx
    #1 square_webPay->__construct() called at [/admin/orders.php:521]
    #2 require(/admin/orders.php) called at [/admin/index.php:11]
    --> PHP Warning: Use of undefined constant MODULE_PAYMENT_SQ_WEBPAY_TESTING_MODE assumed 'MODULE_PAYMENT_SQ_WEBPAY_TESTING_MODE' (this will throw an Error in a future version of PHPin /includes/modules/payment/square_webPay.php on line 106.

    [06-Sep-2022 16:00:53 Europe/LondonRequest URI: /..../admin/index.php?cmd=orders&page=1&oID=31216&action=editIP addressxxx.xxx.xxx.xxx
    #1 square_webPay->__construct() called at [/admin/orders.php:521]
    #2 require(/admin/orders.php) called at [/admin/index.php:11]
    --> PHP Warning: Use of undefined constant MODULE_PAYMENT_SQ_WEBPAY_ACCESS_TOKEN assumed 'MODULE_PAYMENT_SQ_WEBPAY_ACCESS_TOKEN' (this will throw an Error in a future version of PHPin /includes/modules/payment/square_webPay.php on line 111. 
    I can add quotes to the code to get rid of the warning but I'm not convinced this is the solution as nobody else seems to have the issue.

    I am using V1.0.1 from the downloads on Zen V1.5.7d and PHP 7.4

    Any pointers please?

  7. #257
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,384
    Plugin Contributions
    9

    Default Re: Square WebPay support thread.

    Quote Originally Posted by Brent View Post
    Having another go at installing this version. I notice this warning was in an earlier post but as it wasn't the main issue it never got addressed.

    PHP Code:
    [06-Sep-2022 16:00:53 Europe/LondonRequest URI: /...../admin/index.php?cmd=orders&page=1&oID=31216&action=editIP addressxxx.xxx.xxx.xxx
    #1 square_webPay->__construct() called at [/admin/orders.php:521]
    #2 require(/admin/orders.php) called at [/admin/index.php:11]
    --> PHP Warning: Use of undefined constant MODULE_PAYMENT_SQ_WEBPAY_TESTING_MODE assumed 'MODULE_PAYMENT_SQ_WEBPAY_TESTING_MODE' (this will throw an Error in a future version of PHPin /includes/modules/payment/square_webPay.php on line 106.

    [06-Sep-2022 16:00:53 Europe/LondonRequest URI: /..../admin/index.php?cmd=orders&page=1&oID=31216&action=editIP addressxxx.xxx.xxx.xxx
    #1 square_webPay->__construct() called at [/admin/orders.php:521]
    #2 require(/admin/orders.php) called at [/admin/index.php:11]
    --> PHP Warning: Use of undefined constant MODULE_PAYMENT_SQ_WEBPAY_ACCESS_TOKEN assumed 'MODULE_PAYMENT_SQ_WEBPAY_ACCESS_TOKEN' (this will throw an Error in a future version of PHPin /includes/modules/payment/square_webPay.php on line 111. 
    I can add quotes to the code to get rid of the warning but I'm not convinced this is the solution as nobody else seems to have the issue.

    I am using V1.0.1 from the downloads on Zen V1.5.7d and PHP 7.4

    Any pointers please?
    hey brent,
    that has been fixed, but i have not uploaded it for a new version. you should replace lines 105-118 with the following code:

    PHP Code:
                $environment Environment::PRODUCTION;
                if (
    defined('MODULE_PAYMENT_SQ_WEBPAY_TESTING_MODE') && MODULE_PAYMENT_SQ_WEBPAY_TESTING_MODE === 'Sandbox') {
                    
    $environment Environment::SANDBOX;
                }

                
    $this->token'';
                if (
    defined('MODULE_PAYMENT_SQ_WEBPAY_ACCESS_TOKEN')) {
                    
    $this->token MODULE_PAYMENT_SQ_WEBPAY_ACCESS_TOKEN;
                }

                
    $this->client = new SquareClient([
                    
    'accessToken' => $this->token,
                    
    'environment' => $environment,
                ]);
                
    $this->oauthClient = new SquareClient([
                    
    'environment' => $environment,
                ]);

                if (
    IS_ADMIN_FLAG === true) { 
    there's actually 4 new lines in there and 2 changed lines.

    let me know if you run into any other problems.

    best.
    mxWorks now has premium plugins
    are you using square? have you shown any appreciation with cake on venmo or on paypal?
    called the savior by the chief bottle washer...

  8. #258
    Join Date
    Mar 2005
    Location
    United Kingdom
    Posts
    594
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    Thank you kind sir! That did the trick

  9. #259
    Join Date
    Mar 2005
    Location
    United Kingdom
    Posts
    594
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    Since switching I've had a number of customers reporting their transaction is declined but I don't get any error logs my end. I am getting orders through so it is card type or issuing bank dependant. I think it may be card type as I had one user who could not get their credit card to work but as soon as they tried debit card it went through.

    I've now enabled logging on success and failure but don't think this will help me troubleshoot. Also I don't think there is a way to differentiate between credit and debit card in the Square portal so I could investigate that theory?

  10. #260
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    8,836
    Plugin Contributions
    118

    Default Re: Square WebPay support thread.

    Square should have logs on their side that will help you troubleshoot this.
    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.

 

 
Page 26 of 36 FirstFirst ... 162425262728 ... LastLast

Similar Threads

  1. Square Payment Module for Zen Cart [Support Thread]
    By DrByte in forum Addon Payment Modules
    Replies: 727
    Last Post: 9 Nov 2022, 07:51 PM
  2. 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
  3. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 16
    Last Post: 22 Mar 2021, 01:11 AM
  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