Results 1 to 10 of 800

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,915
    Plugin Contributions
    13

    Default Re: Square WebPay support thread.

    better if it is on... but do as you need to...
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  2. #2
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,229
    Plugin Contributions
    6

    Default Re: Square WebPay support thread.

    Quote Originally Posted by carlwhat View Post
    better if it is on... but do as you need to...
    Ok I have put OPC into Conditional Mode on ventureengravings.uk

    You are the only customer that will be able to use it. Your Customer ID is 249
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  3. #3
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,915
    Plugin Contributions
    13

    Default Re: Square WebPay support thread.

    Quote Originally Posted by Nick1973 View Post
    Ok I have put OPC into Conditional Mode on ventureengravings.uk

    You are the only customer that will be able to use it. Your Customer ID is 249
    ok, @Nick1973 and whoever else is paying attention, this is what i have found.
    • we have 2 event listeners competing for the same event.
    • when, the square_webpay event listener gets registered first, there is a successful transaction.
    • when the OPC event listener gets registered first, the square submittal does not happen, and hence there is no token that gets submitted as part of the form.
    • i have no idea why on some sites, the event listener gets registered first in OPC and other times square_webpay.
    • i am working on addressing that.


    as a test, leave Minify set to FALSE - always... until the problem is resolved.

    try commenting out these 2 lines:

    https://github.com/lat9/one_page_che...ut_one.js#L545
    https://github.com/lat9/one_page_che...ut_one.js#L568

    and try placing an order.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  4. #4
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,229
    Plugin Contributions
    6

    Default Re: Square WebPay support thread.

    Quote Originally Posted by carlwhat View Post
    ok, @Nick1973 and whoever else is paying attention, this is what i have found.
    • we have 2 event listeners competing for the same event.
    • when, the square_webpay event listener gets registered first, there is a successful transaction.
    • when the OPC event listener gets registered first, the square submittal does not happen, and hence there is no token that gets submitted as part of the form.
    • i have no idea why on some sites, the event listener gets registered first in OPC and other times square_webpay.
    • i am working on addressing that.


    as a test, leave Minify set to FALSE - always... until the problem is resolved.

    try commenting out these 2 lines:

    https://github.com/lat9/one_page_che...ut_one.js#L545
    https://github.com/lat9/one_page_che...ut_one.js#L568

    and try placing an order.
    Ok without those two lines, the order processes and completes. The order emails are also produced.
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

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

    Default Re: Square WebPay support thread.

    I get "your details have changed" BUT, I have the changes to the jscript_square_webPay.php file in place. Should I be testing without those?
    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.

  6. #6
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,229
    Plugin Contributions
    6

    Default Re: Square WebPay support thread.

    Quote Originally Posted by dbltoe View Post
    I get "your details have changed" BUT, I have the changes to the jscript_square_webPay.php file in place. Should I be testing without those?
    Are you talking to me or @carlwhat?
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

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

    Default Re: Square WebPay support thread.

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

  8. #8
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,247
    Plugin Contributions
    58

    Default Re: Square WebPay support thread.

    Any thoughts on adding a Square hosted payment page option? The new PCI changes are heavy....

    ~Melanie
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  9. #9
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,247
    Plugin Contributions
    58

    Default Re: Square WebPay support thread.

    Zen Cart 1.5.8
    PHP 7.4
    MySQL 8.0.34
    OPC 2.4.5
    Square WebPay 1.0.4


    This store recently sold. It was working fine, switched the Square account to the new owner and it works fine. However, previous orders in the orders screen cannot be viewed with the following error.

    [05-Oct-2023 17:23:22 America/New_York] Request URI: /xx/index.php?cmd=orders&page=1&oID=10030690&action=edit, IP address: 000.000.000.000
    --> PHP Fatal error: Uncaught Error: Call to a member function getOrders() on array in /home/xxx/public_html/includes/modules/payment/square_webPay.php:913
    Stack trace:
    #0 /home/xxx/public_html/includes/modules/payment/square_webPay.php(526): square_webPay->lookupOrderDetails(10030690)
    #1 /home/xxx/public_html/xx/orders.php(741): square_webPay->admin_notification(10030690)
    #2 /home/xxx/public_html/xx/index.php(11): require('/home/xxx/...')
    #3 {main}
    thrown in /home/xxx/public_html/includes/modules/payment/square_webPay.php on line 913.
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  10. #10
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,229
    Plugin Contributions
    6

    Default Re: Square WebPay support thread.

    Quote Originally Posted by carlwhat View Post
    ok, @Nick1973 and whoever else is paying attention, this is what i have found.
    • we have 2 event listeners competing for the same event.
    • when, the square_webpay event listener gets registered first, there is a successful transaction.
    • when the OPC event listener gets registered first, the square submittal does not happen, and hence there is no token that gets submitted as part of the form.
    • i have no idea why on some sites, the event listener gets registered first in OPC and other times square_webpay.
    • i am working on addressing that.


    as a test, leave Minify set to FALSE - always... until the problem is resolved.

    try commenting out these 2 lines:

    https://github.com/lat9/one_page_che...ut_one.js#L545
    https://github.com/lat9/one_page_che...ut_one.js#L568

    and try placing an order.
    So is this the fix? Or do I need to wait for you to further investigate?
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

 

 

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