Results 1 to 10 of 800

Hybrid View

  1. #1
    Join Date
    Feb 2017
    Location
    Tokyo, Japan
    Posts
    334
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    And Boom!, success. It turns out that in the product I chose, with the applied discount, for some reason the price has decimals that were not all 0. For other products I checked (still need to do exhaustive checks) that net always shows <something>.0000 (I tried removing the 0000 decimals but they re-occur when I load the inventory page for the product again) in which case integer JPY value results as expected.
    So it seems that my test product was faulty, and possibly some production products as well judging by the single customer complaint I had which set off this investigation.
    I should have investigated the actual request and response, I did not notive that they were both available in full, not just the 400 HTTP response.
    I'll go back to my Japan local IP and see if there are any other errors now or whether the issue is potentially solved.
    Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0

  2. #2
    Join Date
    Feb 2017
    Location
    Tokyo, Japan
    Posts
    334
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    To add: I have traced out the issue now. Whenever a discounted product price has a price where the least significant digit is not 0 (e.g., 15 rather than 10 or 20 or 30), then the 10% tax results in a fractional number (e.g. 10% of xx5 is xx.5) which while it does not show as such in the shop browser view, does get passed to Square as such, and fails verification.
    I've therefore checked that all discounted product prices end in xx0, and where necessary changed the discount to manual from percentage to give a discounted price ending in a 0.
    I could I suppose try to change the amount that gets sent to Square, but don't want to make changes ad hoc when this should be handled more systematically within Zen Cart, e.g., on a per product basis rather than in the end amount, etc.
    Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0

  3. #3
    Join Date
    Jul 2011
    Posts
    59
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    Does this module still work with zencart 2.0 running php 8.3? I installed it on my newly updated site and it seems to have made it go crazy - all links now point to one product and site unusable. I made a backup test site and installed all the other mods one by one and the only one still to be installed is Square Webpay, which makes me suspicious of it being the culprit.
    I need Square rather urgently as it's the most popular payment choice and I have to pay off a loan through Square via payments received, but I'm dreading installing it and messing everything up again due to incompatibility or such if it's just a case of not being able to cope with php8.3 (minimum php is 8 for the new ZC 2.0, but it didn't make a difference when i tried it as a solve)

    PS even if I can't get it working on 2.0, thanks for all the hard work you've done on it so far, Carl!

  4. #4
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: Square WebPay support thread.

    If you are using the version from the Plugins area then it is highly unlikely that it will work without issues on the setup you quote. See the link at the top of this Docs page for a paid version that supports higher versions of ZC & PHP.

    As far as I'm aware the paid version has been tested for ZC v1.5.8's and PHP 8.2 and that testing for ZC v2.0 is in progress.
    Simon

 

 

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