I'm not a coder or IT guy by any means... but I just looked in my degug log and saw this:
I have looked at the debug logs in Admin... this one stood out:
[20-Jun-2024 17:07:25 UTC] PHP Notice: missing token result: should not get here. check that you have the latest jscript_square_webpay file and that you are not having javascript errors in the console. in /includes/modules/payment/square_webPay.php on line 261
I'm on Zen Cart 2.0.1... I do have the latest Square WebPay release, the module is configured and authorized but I continue to keep getting stuck at Step 2..... It will not process the request to continue and move forward to Step 3... I even tried a production mode transaction to rule out if sandbox mode may have been causing the issue... same thing... not able to get past step 2 of checkout... and in production mode I had no feild showing to even enter a CC number...
Even though this is pointing me in a direction of a .php to look at and the line to look on... I have no idea what to look for![]()
Last edited by BigB; 21 Jun 2024 at 12:05 AM.
in reviewing this thread, i can say that you doing something unsupported. from the download page:
so this module is not ready for v2.x.- Version 1.0.0 use SDK version: 17.2.0.20220216. According to square, this SDK requires php 7.4 - php 8.0.
- I have successfully used it using php 7.3 and zen-cart v1.5.6.
- You are welcome to use it as you see fit; I have only tested it for zc156 and zc157.
some of the notices you are getting seem to indicate your php version is greater than 8.0.
your problems arise from running code that is not meant to run together.
as the quote states above, you are welcome to use it as you see fit; but clearly the problems arise from incompatible versions.
that said, there seems to be plenty of helpful suggestions on this thread from numerous individuals.
best.
I do appreciate all of the input, suggestions, attention and direction that everyone has contributed for this conundrum. Thank you carlwhat for beaming in and making it definite that the Square webPay module in it's present state is clearly not compatiable with Zen Cart 2.0.1. This will save me a lot of time that I can now focus on a viable solution to using Sqaure Payments.
All the best![]()
@carlwhat are you going to be updating this for 2.0? Or is someone else now taking the responsibility? Can I help in any way? I certainly can help test or something less technical than coding.
Zen Cart users please note: the *free contribution Square Webpay* is not compatible with newer versions of PHP.
But you can still use Square Webpay; you just have to buy the updated version. This is explained in the documentation:
https://docs.zen-cart.com/user/payme...#square-webpay
I hope this clears up any confusion.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Thank you for coming straight out and stating this. It will surely help many in making the correct decision for implementing the pluginPerhaps a good idea would be to have the "Paid" version of Square WebPay module installed and operational on a current version Zen Cart site (updated each time with the newest ZC version as they appear...) to insure confidence.
If the authors of the module can literally prove the paid plugin's efficay by having it installed, runnng and processing payments via Square... on a live install of the most current version of Zen Cart... then the authors of said module fully justify the investment and dispell any doubts about the plugin's dependabilty and usefullness![]()
Last edited by BigB; 27 Jun 2024 at 04:14 PM.
OK... this is weird.. I decided to give things another go...
I wiped ZC v2.0.1 and decided to do a fresh install of Zen Cart v1.5.8... my php version is 8.0... still have the same issue with checkout hanging at Step 2 of 3
According to the specs I should not be having any issues... the author does state that the module has been tested and it does indeed work on v1.5.8 with a php version no higher than 8.0... I have no reason to doubt his findings however, these very ZC version and php specs are exactly what I'm running for this intsallation of ZC 1.5.8 (with the security patch!) and php 8.0 ...
I can't be the only one facing this... what can possibly be causing this?
There must be a plausible answer and solution to get this module going/processing the way it should... the incompatible php and ZC version issues are no longer a part of the equation...
any input, suggestions, etc... greatly appreciated![]()
Hello OJ_SIMON,
I didn't see anything in error logs... but, there is one strange thing that I did just experience... I can login to the admin on Brave but, not on FireFox.. it just hangs at the login page giving me an incorrect user/password warning but, I know the credentials to login are correct..
that doesn't make any sense to me at all... I have logged in to the admin on FireFox before but it won't do it this evening... go there on Brave and Blam-O.. I can login no problem-o![]()
I had no probs getting the module installed, configured and authorized.
FWIW: I do get the same hanging issue on Step 2 of 3 of checkout on both BOTH Brave and FireFox browsers... I have the module on Sand-Box mode for testing the checkout process...
Last edited by BigB; 30 Jun 2024 at 02:15 AM.