Page 10 of 37 FirstFirst ... 8910111220 ... LastLast
Results 91 to 100 of 366
  1. #91
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,389
    Plugin Contributions
    9

    Default Re: Square WebPay support thread.

    it has also come to my attention, that it may be related to a cookie setting. do you have if you have this value set: COOKIE_SAMESITE? and if so, what is it?

    one could look using the developer tools off the admin -> tools menu.

    also, what version of php are you running?

    and finally please confirm that you are running zc 1.5.7d.

    thanks.
    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...

  2. #92
    Join Date
    Jun 2009
    Location
    Sparta, TN
    Posts
    153
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    I ran a search in the tool kit for COOKIE_SAMESITE (ran in every option) and found just these two:

    /home/vinyld6/public_html/VDSstore/***/includes/init_includes/init_sessions.php
    Line #25 : $samesite = (defined('COOKIE_SAMESITE')) ? COOKIE_SAMESITE : 'lax';
    and

    /home/vinyld6/public_html/VDSstore/includes/init_includes/init_sessions.php
    Line # 42 : $samesite = (defined('COOKIE_SAMESITE')) ? COOKIE_SAMESITE : 'lax';

    PHP Version: 7.2.34 (Zend: 3.2.0)
    Zen Cart 1.5.7d
    Database Patch Level: 1.5.7b
    v1.5.7b [2021-02-20 16:19:18] (Version Update 1.5.6->1.5.7b)
    v1.5.6c [2021-02-20 16:19:17] (Version Update 1.5.5->1.5.6c)
    v1.5.5 [2016-03-30 10:00:19] (Version Update 1.5.4->1.5.5)
    v1.5.4 [2016-03-30 10:00:18] (Version Update 1.5.3->1.5.4)
    v1.5.3 [2016-03-30 10:00:18] (Version Update 1.5.2->1.5.3)
    v1.5.2 [2016-03-30 10:00:17] (Version Update 1.5.1->1.5.2)
    v1.5.1 [2016-03-30 10:00:16] (Version Update 1.5.0->1.5.1)
    v1.5.0 [2016-03-30 10:00:15] (Version Update 1.3.9->1.5.0)
    v1.3.9b [2010-05-15 15:00:01] (Version Update 1.3.8->1.3.9b)
    v1.3.8 [2009-06-14 16:02:34] (Fresh Installation)
    v1.3.8 [2009-06-14 16:02:34] (Fresh Installation)

    Thinking I had a corruption during upload, I was just about to delete all the Square WebPay files and start over. I also have FULL backups prior to the install of Square WebPay that I can restore.

    Thanks again carlwhat
    My store
    1.5.7d (upgraded from 1.5.7b), clone a template (cloned Responsive Classic Template), Sitemap XML v4.0, Square WebPay, PayPal Express Checkout, PHP Version: 7.4.29 (Zend: 3.4.0)

  3. #93
    Join Date
    Jun 2009
    Location
    Sparta, TN
    Posts
    153
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    ... Money Order payment option works. I have no other online modules set up that I can test.
    Do you want me to enable Square WebPay for your research?

  4. #94
    Join Date
    Jun 2009
    Location
    Sparta, TN
    Posts
    153
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    I deleted all the Square WebPay files via WinSCP and reinstalled the module. Still no joy. I did get a warning log:

    File Contents( /home/vinyld6/logs/myDEBUG-adm-20220515-180033-869325-warning.log)
    [15-May-2022 13:00:34 America/Chicago] Request URI: /VDSstore/***/index.php?cmd=modules&set=payment&action=install, IP address: 152.97.210.26
    #1 square_webPay->__construct() called at [/***/modules.php:106]
    #2 require(/***/modules.php) called at [/***/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 PHP) in /includes/modules/payment/square_webPay.php on line 106.

    [15-May-2022 13:00:34 America/Chicago] Request URI: /VDSstore/***/index.php?cmd=modules&set=payment&action=install, IP address: 152.97.210.26
    #1 square_webPay->__construct() called at [/***/modules.php:106]
    #2 require(/***/modules.php) called at [/***/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 PHP) in /includes/modules/payment/square_webPay.php on line 111.

    Does this log help ID the "Whoops!"?

    My next step will be to restore my site.
    My store
    1.5.7d (upgraded from 1.5.7b), clone a template (cloned Responsive Classic Template), Sitemap XML v4.0, Square WebPay, PayPal Express Checkout, PHP Version: 7.4.29 (Zend: 3.4.0)

  5. #95
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,312
    Plugin Contributions
    80

    Default Re: Square WebPay support thread.

    Quote Originally Posted by VDecalS View Post
    I ran a search in the tool kit for COOKIE_SAMESITE (ran in every option) and found just these two:

    /home/vinyld6/public_html/VDSstore/***/includes/init_includes/init_sessions.php
    Line #25 : $samesite = (defined('COOKIE_SAMESITE')) ? COOKIE_SAMESITE : 'lax';
    and

    /home/vinyld6/public_html/VDSstore/includes/init_includes/init_sessions.php
    Line # 42 : $samesite = (defined('COOKIE_SAMESITE')) ? COOKIE_SAMESITE : 'lax';

    PHP Version: 7.2.34 (Zend: 3.2.0)
    Zen Cart 1.5.7d
    Database Patch Level: 1.5.7b
    v1.5.7b [2021-02-20 16:19:18] (Version Update 1.5.6->1.5.7b)
    v1.5.6c [2021-02-20 16:19:17] (Version Update 1.5.5->1.5.6c)
    v1.5.5 [2016-03-30 10:00:19] (Version Update 1.5.4->1.5.5)
    v1.5.4 [2016-03-30 10:00:18] (Version Update 1.5.3->1.5.4)
    v1.5.3 [2016-03-30 10:00:18] (Version Update 1.5.2->1.5.3)
    v1.5.2 [2016-03-30 10:00:17] (Version Update 1.5.1->1.5.2)
    v1.5.1 [2016-03-30 10:00:16] (Version Update 1.5.0->1.5.1)
    v1.5.0 [2016-03-30 10:00:15] (Version Update 1.3.9->1.5.0)
    v1.3.9b [2010-05-15 15:00:01] (Version Update 1.3.8->1.3.9b)
    v1.3.8 [2009-06-14 16:02:34] (Fresh Installation)
    v1.3.8 [2009-06-14 16:02:34] (Fresh Installation)

    Thinking I had a corruption during upload, I was just about to delete all the Square WebPay files and start over. I also have FULL backups prior to the install of Square WebPay that I can restore.

    Thanks again carlwhat
    In addition, check your storefront /includes/configure.php file to make sure that both the HTTP_SERVER and HTTPS_SERVER definitions start with 'https' and that ENABLE_SSL is set to 'true' (including the quotes).

    If those are all OK, for the SAMESITE_COOKIE setting (although I've not seen any other time-out issues reported in this support-thread), try creating a file named samesite_cookie.php in the storefront /includes/extra_datafiles directory that contains:
    PHP Code:
    <?php
    // -----
    // Identify that the site uses the 'samesite' cookie setting of 'None', since some payments (when returning
    // from a 3DS verification) need the cookie set this way.
    //
    if (ENABLE_SSL == 'true') {
        
    define('COOKIE_SAMESITE''none');
    }
    That 'might' work, but I'm on a guessing path here!

  6. #96
    Join Date
    Jun 2009
    Location
    Sparta, TN
    Posts
    153
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    Checked - storefront /includes/configure.php
    define('HTTP_SERVER', 'https://vinyldecalsuperstore.com');
    define('HTTPS_SERVER', 'https://vinyldecalsuperstore.com');
    define('ENABLE_SSL', 'true');
    looks good there.

    Created the samesite_cookie.php and copied the code with no trailing blank line, then with a trailing blank line after the }, neither got me past the Whoops.

    Thanks for looking Cindy!
    My store
    1.5.7d (upgraded from 1.5.7b), clone a template (cloned Responsive Classic Template), Sitemap XML v4.0, Square WebPay, PayPal Express Checkout, PHP Version: 7.4.29 (Zend: 3.4.0)

  7. #97
    Join Date
    Jun 2009
    Location
    Sparta, TN
    Posts
    153
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    I do notice that my Location ID is not being displayed after step 2 of module install (ie. green box ..login and Authorize your account)
    Name:  Inkedswp-no location id_LI.jpg
Views: 62
Size:  24.3 KB
    I have to EDIT Square WebPay again, making no changes, just clicking the UPDATE button. Then the Location ID shows as:
    VinylDecalSuperstore.com:[**letter/number-code**]:USD

    I hope this is the important information, I've neglected to tell before now, that will allow a fix.
    My store
    1.5.7d (upgraded from 1.5.7b), clone a template (cloned Responsive Classic Template), Sitemap XML v4.0, Square WebPay, PayPal Express Checkout, PHP Version: 7.4.29 (Zend: 3.4.0)

  8. #98
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    8,633
    Plugin Contributions
    9

    Default Re: Square WebPay support thread.

    1.5.7d (upgraded from 1.5.7b), clone a template (cloned Responsive Classic Template), Sitemap XML v4.0, Square WebPay, PayPal Express Checkout, PHP Version: 7.2.34
    Please note that this module needs PHP 7.3.3.
    I have not been able to get it going with anything less.
    You are at 1.5.7d which should be able to handle 7.4 or 8.0. Some of your existing mods may not play well with 8.0, so start with 7.4 and work up.

  9. #99
    Join Date
    Jun 2009
    Location
    Sparta, TN
    Posts
    153
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    Quote Originally Posted by dbltoe View Post
    Please note that this module needs PHP 7.3.3.
    I have not been able to get it going with anything less.
    You are at 1.5.7d which should be able to handle 7.4 or 8.0. Some of your existing mods may not play well with 8.0, so start with 7.4 and work up.
    Humm. Tried both, neither let me complete purchase so I knocked it back to PHP 7.4.29 (Zend: 3.4.0)
    Thanks dbltoe
    My store
    1.5.7d (upgraded from 1.5.7b), clone a template (cloned Responsive Classic Template), Sitemap XML v4.0, Square WebPay, PayPal Express Checkout, PHP Version: 7.4.29 (Zend: 3.4.0)

  10. #100
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,312
    Plugin Contributions
    80

    Default Re: Square WebPay support thread.

    Since the site is running https-all-the-time, your site's root .htaccess file should 'support' that. Make a backup copy and add the following clauses close to the top of the file to 'force' the access to https://vinyldecalsuperstore.com/{whatever} when the access is made as

    vinyldecalsuperstore.com/VDSstore/{whatever}
    http://vinyldecalsuperstore.com/{whatever}
    http://www.vinyldecalsuperstore.com/{whatever}
    https://www.vinyldecalsuperstore.com/{whatever}

    Code:
    RewriteCond %{SERVER_PORT} 80 [OR]
    RewriteCond %{HTTP_HOST} ^www\.vinyldecalsuperstore\.com$ [NC]
    RewriteRule (.*) https://vinyldecalsuperstore.com/$1 [R=301,L]

 

 
Page 10 of 37 FirstFirst ... 8910111220 ... 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