Page 1 of 2 12 LastLast
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.

    Quote Originally Posted by royaldave View Post
    I know this is a simple update, but are there update instructions available?
    sorry no. i should have included something.

    it’s a simple file replacement. but nothing in the sdk has changed.

    you can copy all of the files without the need to copy the directory:

    for_upload/includes/modules/payment/square_webPay

    hope that helps!
    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
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,701
    Plugin Contributions
    11

    Default Re: Square WebPay support thread.

    Those of you who were already using Square prior to carlwhat's update to WebPay may want to check your ADMIN >> Customers >> Orders for orders made in late March or earlier that have square under the Payment/Shipping header versus square_webPay.

    We (myzencarthostDOTcom) updated several of our customers while some did 1.0.0 and 1.0.1 on their own. Both groups have shown cases where the Payment/Shipping was not changed to square_webPay on orders made with the old square.

    If you are using WebPay and the Payment/Shipping shows square, you will not be able to access the full details for the order. IOW, you will not see anything AFTER the payment method. A partial blank screen with no log created and no way to see comments on the order.

    NOTE: Some sites with Edit Orders are able to access the data with that mod. Still, the fix needs to be made.

    Somehow, the upgrades did not modify the orders table in the database for any existing square orders. Specifically, the payment_module_code field. Some sites had a DB prefix and others did not so, I don't think that's the problem.

    There's a quick fix if you find this happening. Go to ADMIN >> Tools >> Install SQL Patcches (it shows up as SQL Query Executor on the page).

    Please read the instructions on that page that are in RED.

    Enter the following code.

    Code:
    UPDATE orders
    SET payment_module_code = 'square_webPay'
    WHERE payment_module_code = 'square';
    Then click on send.

    You'll be good to go
    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.

  3. #3
    Join Date
    Apr 2009
    Posts
    492
    Plugin Contributions
    2

    Default Re: Square WebPay support thread.

    Quote Originally Posted by dbltoe View Post
    Those of you who were already using Square prior to carlwhat's update to WebPay may want to check your ADMIN >> Customers >> Orders for orders made in late March or earlier that have square under the Payment/Shipping header versus square_webPay.

    We (myzencarthostDOTcom) updated several of our customers while some did 1.0.0 and 1.0.1 on their own. Both groups have shown cases where the Payment/Shipping was not changed to square_webPay on orders made with the old square.

    If you are using WebPay and the Payment/Shipping shows square, you will not be able to access the full details for the order. IOW, you will not see anything AFTER the payment method. A partial blank screen with no log created and no way to see comments on the order.

    NOTE: Some sites with Edit Orders are able to access the data with that mod. Still, the fix needs to be made.

    Somehow, the upgrades did not modify the orders table in the database for any existing square orders. Specifically, the payment_module_code field. Some sites had a DB prefix and others did not so, I don't think that's the problem.

    There's a quick fix if you find this happening. Go to ADMIN >> Tools >> Install SQL Patcches (it shows up as SQL Query Executor on the page).

    Please read the instructions on that page that are in RED.

    Enter the following code.

    Code:
    UPDATE orders
    SET payment_module_code = 'square_webPay'
    WHERE payment_module_code = 'square';
    Then click on send.

    You'll be good to go
    Thanks for this. I did have a prefix, and they were not changed. I have run the code and all good now. Thanks again
    Mark Brittain
    http:\\innerlightcrystals.co.uk\sales\

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

    Default Re: Square WebPay support thread.

    this is a big that i noticed and documented with regards to the original square module. not square_webPay.

    by running that sql statement you are not losing visibility into how that order was originally charged. if you are ok with that, great. but it is NOT how i would do it. nor is it what i would recommend doing.

    i would look into changing the square code as opposed to changing all of one’s data.

    do at your own peril.

    “to err is human… but to really mess things up you need a computer…. and to mess things up royally you need sql…”

    old shakesperean saying.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  5. #5
    Join Date
    Apr 2008
    Posts
    446
    Plugin Contributions
    1

    Default Re: Square WebPay support thread.

    I'm experiencing the same happening, partial blank page after payment on order details page, but I'm getting this in the logs:

    PHP Warning: require(/includes/modules/payment/square_support/square_admin_notification.php): failed to open stream: No such file or directory in /includes/modules/payment/square_webPay.php on line 505.

    [31-May-2022 17:01:24 America/Detroit] PHP Fatal error: require(): Failed opening required '/includes/modules/payment/square_support/square_admin_notification.php' (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /includes/modules/payment/square_webPay.php on line 505


    I ran the update above (post #131) but error log continues (updated to webPay over the weekend).

    Doing a search I found includes/modules/payment/square_webPay.php has this line of code in it require(DIR_FS_CATALOG . DIR_WS_MODULES . 'payment/square_support/square_admin_notification.php');

    Checking the square_webPay folder doesn't contain anything remotely similar to this file in it. Should I modify the file by deleting the line/commenting it or is there another line that should replace it?

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

    Default Re: Square WebPay support thread.

    that file is part of the base v157 zc install. you should track that file down and upload it to your server.

    do not modify the code.

    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.

  7. #7
    Join Date
    Apr 2008
    Posts
    446
    Plugin Contributions
    1

    Default Re: Square WebPay support thread.

    Quote Originally Posted by carlwhat View Post
    that file is part of the base v157 zc install. you should track that file down and upload it to your server.

    do not modify the code.

    best
    Thanks. Yeah, that file is on the deprecated Square plugin which according to the Square WebPay instructions should be removed. Makes no sense to have a plugin that won't work installed so another one could work, unless I'm missing something?

    Perhaps an update to the Square WebPay is in order to include that or any other files needed for this new version to work

  8. #8
    Join Date
    Aug 2012
    Posts
    44
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    Quote Originally Posted by dbltoe View Post
    Those of you who were already using Square prior to carlwhat's update to WebPay may want to check your ADMIN >> Customers >> Orders for orders made in late March or earlier that have square under the Payment/Shipping header versus square_webPay.

    We (myzencarthostDOTcom) updated several of our customers while some did 1.0.0 and 1.0.1 on their own. Both groups have shown cases where the Payment/Shipping was not changed to square_webPay on orders made with the old square.

    If you are using WebPay and the Payment/Shipping shows square, you will not be able to access the full details for the order. IOW, you will not see anything AFTER the payment method. A partial blank screen with no log created and no way to see comments on the order.

    NOTE: Some sites with Edit Orders are able to access the data with that mod. Still, the fix needs to be made.

    Somehow, the upgrades did not modify the orders table in the database for any existing square orders. Specifically, the payment_module_code field. Some sites had a DB prefix and others did not so, I don't think that's the problem.

    There's a quick fix if you find this happening. Go to ADMIN >> Tools >> Install SQL Patcches (it shows up as SQL Query Executor on the page).

    Please read the instructions on that page that are in RED.

    Enter the following code.

    Code:
    UPDATE orders
    SET payment_module_code = 'square_webPay'
    WHERE payment_module_code = 'square';
    Then click on send.

    You'll be good to go
    Is this still the method to fix the order details not showing up? Tried it and doesn't work.

  9. #9
    Join Date
    Aug 2012
    Posts
    44
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    solved. had to login and set the credentials for oauth again for it to work.

  10. #10
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    So why does the token expire even when there have been multiple orders processed in the last week?
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

 

 
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