Page 1 of 2 12 LastLast
Results 1 to 10 of 800

Hybrid View

  1. #1
    Join Date
    Jun 2009
    Location
    Sparta, TN
    Posts
    158
    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 - closed 12/05/2023
    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)

  2. #2
    Join Date
    Jun 2009
    Location
    Sparta, TN
    Posts
    158
    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)
    Click image for larger version. 

Name:	Inkedswp-no location id_LI.jpg 
Views:	619 
Size:	24.3 KB 
ID:	19988
    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 - closed 12/05/2023
    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. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,700
    Plugin Contributions
    11

    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.
    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
    Jun 2009
    Location
    Sparta, TN
    Posts
    158
    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 - closed 12/05/2023
    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. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    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]

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

    Default Re: Square WebPay support thread.

    Quote Originally Posted by lat9 View Post
    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]
    I've got a bunch of this stuff in my .htaccess folder right now, including a domain that points to my primary vinyldecalsuperstore.com
    Code:
    RewriteCond %{HTTP_HOST} ^vdsdecal\.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.vdsdecal\.com$
    RewriteRule ^/?$ "https\:\/\/vinyldecalsuperstore\.com\/" [R=301,L]
    RewriteCond %{HTTPS} off
    RewriteCond %{HTTP:X-Forwarded-SSL} !on
    RewriteCond %{HTTP_HOST} ^vinyldecalsuperstore\.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.vinyldecalsuperstore\.com$
    RewriteRule ^/?$ "https\:\/\/vinyldecalsuperstore\.com\/" [R=301,L]
    RewriteCond %{HTTP_HOST} ^.*$
    RewriteRule ^/?$ "https\:\/\/vinyldecalsuperstore\.com\/VDSstore\/" [R=301,L]
    RewriteBase /
    
    # Rewrites all URLS without VDSstore in them
    RewriteCond %{REQUEST_URI} !^/VDSstore/
    
    # Rewrites all URLS [Replace "example" with the actual domain, without the TLD (.com, .net, .biz, etc)]
    RewriteCond %{HTTP_HOST} ^(www\.)?vinyldecalsuperstore\.
    
    # Rewrite all those to insert /folder
    RewriteRule ^(.*)$ /VDSstore/$1 [L]
    Is there a particular order I should have all this and if so, where should I insert the code you gave me?
    Thank you so very much!
    My store - closed 12/05/2023
    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. #7
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,915
    Plugin Contributions
    13

    Default Re: Square WebPay support thread.

    Quote Originally Posted by VDecalS View Post
    I've got a bunch of this stuff in my .htaccess folder right now, including a domain that points to my primary vinyldecalsuperstore.com
    Code:
    RewriteCond %{HTTP_HOST} ^vdsdecal\.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.vdsdecal\.com$
    RewriteRule ^/?$ "https\:\/\/vinyldecalsuperstore\.com\/" [R=301,L]
    RewriteCond %{HTTPS} off
    RewriteCond %{HTTP:X-Forwarded-SSL} !on
    RewriteCond %{HTTP_HOST} ^vinyldecalsuperstore\.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.vinyldecalsuperstore\.com$
    RewriteRule ^/?$ "https\:\/\/vinyldecalsuperstore\.com\/" [R=301,L]
    RewriteCond %{HTTP_HOST} ^.*$
    RewriteRule ^/?$ "https\:\/\/vinyldecalsuperstore\.com\/VDSstore\/" [R=301,L]
    RewriteBase /
    
    # Rewrites all URLS without VDSstore in them
    RewriteCond %{REQUEST_URI} !^/VDSstore/
    
    # Rewrites all URLS [Replace "example" with the actual domain, without the TLD (.com, .net, .biz, etc)]
    RewriteCond %{HTTP_HOST} ^(www\.)?vinyldecalsuperstore\.
    
    # Rewrite all those to insert /folder
    RewriteRule ^(.*)$ /VDSstore/$1 [L]
    Is there a particular order I should have all this and if so, where should I insert the code you gave me?
    Thank you so very much!
    you are having a token problem!

    https://vinyldecalsuperstore.com/VDS...ay_handler.php

    is returning a 417. fix that, and then lets see what happens.

    i think there is info on this thread on it. but let us know if you need help with it.
    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
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,700
    Plugin Contributions
    11

    Default Re: Square WebPay support thread.

    Installed the new 1.0.2 on 1.5.7d with OPC.

    Getting
    Code:
    [30-Oct-2022 13:30:25 America/New_York] PHP Fatal error: Uncaught TypeError: Argument 1 passed to square_webPay::saveAccessToken() must be an instance of Square\Models\ObtainTokenResponse, instance of Square\Http\ApiResponse given, called in /includes/modules/payment/square_webPay.php on line 779 and defined in /includes/modules/payment/square_webPay.php:678
    Stack trace:
    #0 /includes/modules/payment/square_webPay.php(779): square_webPay->saveAccessToken(Object(Square\Http\ApiResponse))
    #1 /includes/modules/payment/square_webPay.php(622): square_webPay->renewOAuthToken()
    #2 /squareWebPay_handler.php(45): square_webPay->token_refresh_check(false)
    #3 {main}
    thrown in /includes/modules/payment/square_webPay.php on line 678
    
    [30-Oct-2022 13:30:25 America/New_York] Request URI: /squareWebPay_handler.php, IP address: 68.##.##.122
    --> PHP Fatal error: Uncaught TypeError: Argument 1 passed to square_webPay::saveAccessToken() must be an instance of Square\Models\ObtainTokenResponse, instance of Square\Http\ApiResponse given, called in /includes/modules/payment/square_webPay.php on line 779 and defined in /includes/modules/payment/square_webPay.php:678
    Stack trace:
    #0 /includes/modules/payment/square_webPay.php(779): square_webPay->saveAccessToken(Object(Square\Http\ApiResponse))
    #1 /includes/modules/payment/square_webPay.php(622): square_webPay->renewOAuthToken()
    #2 /squareWebPay_handler.php(45): square_webPay->token_refresh_check(false)
    #3 {main}
    thrown in /includes/modules/payment/square_webPay.php on line 678.
    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.

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

    Default Re: Square WebPay support thread.

    Another site with 1.0.2 and OPC gets a token warning when the customer has an autofill in Chrome for the CC and does not press enter on the CC Zip before clicking on the confirm order button.

    Looks like we may have to work out a way for OPC to ensure the CC is fully active before the confirm order is clicked. You agree?
    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.

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

    Default Re: Square WebPay support thread.

    Just did a test order on the site with the fatal error. Got the same error BUT, the order processed.
    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.

 

 
Page 1 of 2 12 LastLast

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