Page 37 of 40 FirstFirst ... 273536373839 ... LastLast
Results 361 to 370 of 394
  1. #361
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,428
    Plugin Contributions
    11

    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?
    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. #362
    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

  3. #363
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,428
    Plugin Contributions
    11

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

  4. #364
    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.

  5. #365
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,428
    Plugin Contributions
    11

    Default Re: Square WebPay support thread.

    Quote Originally Posted by edadk View Post
    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, not sure if I should post them or send them privately.
    a PAN failure is the message that comes back from square. i placed an order with a test credit card, and square properly responded to that test credit card number. it is perfectly fine to post that message here, and no need to PM me that. and frankly i have never understood why users do not want to post their live website URLs on the board. but i suppose i am in the minority.

    that message is expected.

    your previous message is something different. it means that the information necessary to submit to square was not found. why that is, i can not say. it worked fine for me.

    if it happens again, i would try to see what was in the cart and exactly what the customer was doing.

    very hard to fix if i can not reproduce.

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

  6. #366
    Join Date
    Nov 2008
    Posts
    192
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    Thanks very much for your efforts to look into this, much appreciated.

    If it happens again, I'll try to get additional info from the customer about what they were buying, and what they saw when they tried to check out.

  7. #367
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    8,699
    Plugin Contributions
    9

    Default Re: Square WebPay support thread.

    This was found in troubleshooting today. We loaded the 1.03 files to Zen Cart 1.5.8 and were getting stopped at Confirm Checkout with a token error.

    For those wondering about 1.5.8, WebPay works exactly as expected in Zen Cart 1.5.8 WITHOUT One Page Checkout.

    If you are going to use WebPay AND One Page Checkout with Zen Cart, you will need to get the OLD square javascript file from includes/modules/pages/checkout_payment/ called jscript_square.php.

    Copy or FTP that file to includes/modules/pages/checkout_one/.

    The includes/modules/pages/checkout_payment/jscript_square.php is still part of the 1.5.8 distribution zip file. It may not be part of further distros.

  8. #368
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,428
    Plugin Contributions
    11

    Default Re: Square WebPay support thread.

    Quote Originally Posted by dbltoe View Post
    This was found in troubleshooting today. We loaded the 1.03 files to Zen Cart 1.5.8 and were getting stopped at Confirm Checkout with a token error.

    For those wondering about 1.5.8, WebPay works exactly as expected in Zen Cart 1.5.8 WITHOUT One Page Checkout.

    If you are going to use WebPay AND One Page Checkout with Zen Cart, you will need to get the OLD square javascript file from includes/modules/pages/checkout_payment/ called jscript_square.php.

    Copy or FTP that file to includes/modules/pages/checkout_one/.

    The includes/modules/pages/checkout_payment/jscript_square.php is still part of the 1.5.8 distribution zip file. It may not be part of further distros.
    this is just wrong.

    following this advice is not recommended by me; and i wrote the square webPay module.

    the code from that file is here.

    looking at it here, one can see that said file will just return false without doing anything.

    PHP Code:
    if (!defined('MODULE_PAYMENT_SQUARE_STATUS') || MODULE_PAYMENT_SQUARE_STATUS != 'True' || (!defined('MODULE_PAYMENT_SQUARE_APPLICATION_ID') || MODULE_PAYMENT_SQUARE_ACCESS_TOKEN == '')) {
        return 
    false;
    }
    if (
    $payment_modules->in_special_checkout() || empty($square) || !$square->enabled) {
        return 
    false;

    there is nothing in the jscript_square.php that has anything to do with square webPay.

    why this situation works for this poster, i can not say; nor will i offer a guess.

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

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

    Default Re: Square WebPay support thread.

    Of course you won't offer a guess.

    Your abilities as a programmer are bar none,

    Your abilities in dealing with a proven problem are either "I don't use that mod with it" or "it should not being doing that".

    Thank you Captain Obvious.

    After several successful orders on the site this evening, I went in and (again) changed the jscript_square.php to jscript_goofy.php All OPC orders failed with a token error.

    Changed it back and orders processed completely.

    I had similar problems in 1.5.7d with removed (not uninstalled) files for the old square or I would NEVER have thought to try the jscript_square.php insertion.

    Sadly, I expected the denigration and washing of hands but, maybe it just might help someone in the same situation.

  10. #370
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,428
    Plugin Contributions
    11

    Default Re: Square WebPay support thread.

    Quote Originally Posted by dbltoe View Post
    Of course you won't offer a guess.

    Your abilities as a programmer are bar none,

    Your abilities in dealing with a proven problem are either "I don't use that mod with it" or "it should not being doing that".

    Thank you Captain Obvious.

    After several successful orders on the site this evening, I went in and (again) changed the jscript_square.php to jscript_goofy.php All OPC orders failed with a token error.

    Changed it back and orders processed completely.

    I had similar problems in 1.5.7d with removed (not uninstalled) files for the old square or I would NEVER have thought to try the jscript_square.php insertion.

    Sadly, I expected the denigration and washing of hands but, maybe it just might help someone in the same situation.
    please leave this thread. your sarcasm is not appropriate nor appreciated...

    your lack of trouble shooting skills on these boards is well documented.

    considering my contributions to the ongoing development of zen-cart, your lack of respect for me and my work is quite amazing...

    now please go bugger off, and convince someone else of your value while you capitalize on others work.
    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...

 

 
Page 37 of 40 FirstFirst ... 273536373839 ... LastLast

Similar Threads

  1. Square Payment Module for Zen Cart [Support Thread]
    By DrByte in forum Addon Payment Modules
    Replies: 729
    Last Post: 6 Feb 2023, 10:01 PM
  2. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 19
    Last Post: 23 Jan 2023, 08:04 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

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