Results 1 to 10 of 800

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,695
    Plugin Contributions
    11

    Default Re: Square WebPay support thread.

    OTOH,
    I've got one site without cron that has had no sales since the update to webpay.

    Yet, the thing has never dropped.

    go figure.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,527
    Plugin Contributions
    127

    Default Re: Square WebPay support thread.

    Run a test order to be sure it truly works?
    That Software Guy. My Store: Zen Cart Support
    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.

  3. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,695
    Plugin Contributions
    11

    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.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,527
    Plugin Contributions
    127

    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 Support
    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. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,527
    Plugin Contributions
    127

    Default Re: Square WebPay support thread.

    That Software Guy. My Store: Zen Cart Support
    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. #6
    Join Date
    Mar 2005
    Location
    United Kingdom
    Posts
    608
    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. #7
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,915
    Plugin Contributions
    13

    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.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  8. #8
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,527
    Plugin Contributions
    127

    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 Support
    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. #9
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,915
    Plugin Contributions
    13

    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.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 

Similar Threads

  1. Square Payment Module for Zen Cart [Support Thread]
    By DrByte in forum Addon Payment Modules
    Replies: 820
    Last Post: 16 May 2026, 01:07 AM
  2. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 22
    Last Post: 26 Jan 2026, 06:47 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

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