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

Hybrid View

  1. #1
    Join Date
    Nov 2006
    Posts
    127
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    Quote Originally Posted by carlwhat View Post
    i have not seen this error.

    and i'm unsure what else that might affect.

    best.
    Thank you very much for your fast reply. Some hours after I asked the customer what the error message was, he replied. It was an HTTP Error 500.
    I tested the payment module and no problem. Other customers also had no problem. So I told him that it seems the error was on his side. After a while he responded that the error comes from some setting on his smartphone (I have no idea what setting could cause this error).

    Sorry for the false alarm. Your module works excellent an better than the old one.

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

    Default Re: Square WebPay support thread.

    Quote Originally Posted by todoonada View Post
    ...Your module works excellent an better than the old one.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  3. #3
    Join Date
    Nov 2008
    Posts
    192
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    Upgraded my Square module to the WebPay module last week, was working great, taking charges with no issue.

    Today I got a debug file with this at the end:
    PHP Notice: missing token result: check if card button is disabled on dev console using: document.getElementById('card-button'); else look for javascript error in console. in /usr/www/users/xx/includes/modules/payment/square_webPay.php on line 261.

    Customer abandoned their cart at checkout_payment.

    I saw some other messages about this, but must have missed the solution. How can I fix this?
    Using 1.56c, php 7.3, standard checkout flow, daily cron task for handler update.

    many thanks,
    Ed

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

    Default Re: Square WebPay support thread.

    Quote Originally Posted by edadk View Post
    Upgraded my Square module to the WebPay module last week, was working great, taking charges with no issue.

    Today I got a debug file with this at the end:
    PHP Notice: missing token result: check if card button is disabled on dev console using: document.getElementById('card-button'); else look for javascript error in console. in /usr/www/users/xx/includes/modules/payment/square_webPay.php on line 261.

    Customer abandoned their cart at checkout_payment.

    I saw some other messages about this, but must have missed the solution. How can I fix this?
    Using 1.56c, php 7.3, standard checkout flow, daily cron task for handler update.

    many thanks,
    Ed
    what is your checkout process? are you using OPC? FEC? or standard checkout?

    what is your website?
    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
    Nov 2008
    Posts
    192
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    Quote Originally Posted by carlwhat View Post
    what is your checkout process? are you using OPC? FEC? or standard checkout?

    what is your website?
    Standard checkout flow. Msg sent with website.
    thanks,
    Ed

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

    Default Re: Square WebPay support thread.

    Quote Originally Posted by edadk View Post
    Standard checkout flow. Msg sent with website.
    thanks,
    Ed
    site looks and operates fine to me.

    that error mostly happens when OPC is not configured correctly. and i am not able to reproduce it.

    was the customer using a coupon? or do you have any virtual products?
    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
    Nov 2008
    Posts
    192
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    I do not have any active coupons. I have a couple of downloadable products, but not something that usually sells. I got several detailed error messages about "Pan Failure" from what you did on the site, posted to you privately.
    Last edited by edadk; 4 Dec 2022 at 12:30 AM.

  8. #8
    Join Date
    Nov 2006
    Posts
    127
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    I have to come back to the error I already posted at #356 in this thread.

    I find this error more often now in the log files. It is an error in the source files of Square. I can not recreate this error and don't understand what could cause this error.

    --> PHP Fatal error: Uncaught TypeError: Square\ApiHelper::serialize(): Return value must be of type string, bool returned in /includes/modules/payment/square_webPay/square/square/src/ApiHelper.php:113

    I did not receive any Square Alert mail about this error.
    I use Zen Cart v1.5.7d and php 8.0.25

    Has anybody any idea what could cause this error?

  9. #9
    Join Date
    Nov 2006
    Posts
    127
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    Quote Originally Posted by todoonada View Post
    I have to come back to the error I already posted at #356 in this thread.

    I find this error more often now in the log files. It is an error in the source files of Square. I can not recreate this error and don't understand what could cause this error.

    --> PHP Fatal error: Uncaught TypeError: Square\ApiHelper::serialize(): Return value must be of type string, bool returned in /includes/modules/payment/square_webPay/square/square/src/ApiHelper.php:113

    I did not receive any Square Alert mail about this error.
    I use Zen Cart v1.5.7d and php 8.0.25
    Some additional information about this problem.
    I have my product names in this style: Japanese Name of Product <br /> English Name of the Product
    So it looks like this: プラスティックボトル 1000ml<br />Plastic Bottle 1000ml in the input field of the product manager.

    Yesterday I saw a customer who had this problem in the "Whos Online" list of the backend. Since the error happened in the serialize function, I somehow had a feeling it has something to do with the product name or the html tag in the product name.
    So I made notes of the items the customer had in the cart and changed the product names of those items to Japanese Name of Product (I removed <br /> English Name of the Product ).
    The customer tried a while later to check out again and it worked. Of course I do not know if the customer changed something on his side. Japanese has some different input methods and it might be a certain input method caused the error.

    Also it does not explain why most customers can check out without any problem and with the full product name (Japanese Name of Product <br /> English Name of the Product) .


    I also asked in the Square developer forum, but they thought it is a problem of the Zen Cart API.

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

    Default Re: Square WebPay support thread.

    Quote Originally Posted by todoonada View Post
    Some additional information about this problem.
    I have my product names in this style: Japanese Name of Product <br /> English Name of the Product
    So it looks like this: プラスティックボトル 1000ml<br />Plastic Bottle 1000ml in the input field of the product manager.

    Yesterday I saw a customer who had this problem in the "Whos Online" list of the backend. Since the error happened in the serialize function, I somehow had a feeling it has something to do with the product name or the html tag in the product name.
    So I made notes of the items the customer had in the cart and changed the product names of those items to Japanese Name of Product (I removed <br /> English Name of the Product ).
    The customer tried a while later to check out again and it worked. Of course I do not know if the customer changed something on his side. Japanese has some different input methods and it might be a certain input method caused the error.

    Also it does not explain why most customers can check out without any problem and with the full product name (Japanese Name of Product <br /> English Name of the Product) .


    I also asked in the Square developer forum, but they thought it is a problem of the Zen Cart API.
    more information is always better. i will try and take a look at this and see if i can reproduce it.

    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.

 

 
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