New Zenner
- Join Date:
- Sep 2013
- Location:
- Devon, UK
- Posts:
- 88
- Plugin Contributions:
- 1
New Zenner
Totally Zenned
I currently use PayPal but since PayPal no longer allows quest check out with a credit card i am trying to replace PayPal with Square Web Pay.
I installed the plugin without any problem and set up in Square and Zencart.
Does anyone have any idea what could be causing Square WebPay from offering Square WebPay as a payment option?
Reinstalled the plugin twice now.
Walked through the setup instructions three rimes now.
Please does anyone have any guidance to fix the problem?
New Zenner
BillJ:
Here's what it looks like in the zip file.
Note that only square_webPay.php is in the modules/payment directory. You have autoload.php in there too when it should be one level down in modules/payment/square_webPay
Thank you for that information... I have the auotload.php file back where it should be in includes/modules/payment/square_webpay directory... and..
perhaps there is some light at the end of the tunnel with this conundrum.. with help from y'all here on the forum... which I sincerely appreciate :smile:
I have the square_webPay.php file in the includes/modules/payment directory BUT... I also have another file that's a text/x-generic file without the *.php * on the end... it's name is square_webPay sitting in there alongside the *square_webPay.php * file... The contents of this file:
*<?php
// autoload.php @generated by Composer
require_once DIR . '/composer/autoload_real.php';
return ComposerAutoloaderInitfafb29fe5f8dc595bfe1ebb15dd8a771::getLoader();*
Right now I'm in the process of tracking down where/which directory this file is supposed to be... I must have uploaded it to this directory by mistake... I'm looking through the Square_WebPay Module's upload package to see if I can locate where it needs to be so I can move it over to the correct location... Hopefully, this will fix this issue :cheers:
New Zenner
BigB:
Thank you for that information... I have the auotload.php file back where it should be in includes/modules/payment/square_webpay directory... and..
perhaps there is some light at the end of the tunnel with this conundrum.. with help from y'all here on the forum... which I sincerely appreciate :smile:I have the square_webPay.php file in the includes/modules/payment directory BUT... I also have another file that's a text/x-generic file without the *.php * on the end... it's name is square_webPay sitting in there alongside the *square_webPay.php * file... The contents of this file:
*<?php
// autoload.php @generated by Composer
require_once DIR . '/composer/autoload_real.php';
return ComposerAutoloaderInitfafb29fe5f8dc595bfe1ebb15dd8a771::getLoader();*
Right now I'm in the process of tracking down where/which directory this file is supposed to be... I must have uploaded it to this directory by mistake... I'm looking through the Square_WebPay Module's upload package to see if I can locate where it needs to be so I can move it over to the correct location... Hopefully, this will fix this issue :cheers:
Well... I am unable to find this file anywhere in the modules files for upload... nowhere can I find this file... which I'm finding strange and daunting... Where the heck did this file come from?... I'm leaning towards deleting it... save it to my machine and jettison it from the includes/modules/payment directory... How could it hurt?
I must admit, I'm close to the point of going to the backup I did before uploading this module and searching thru Square's other methods of setting up payments right to each individual page... It's bean a week of trying to get this to go... I have to ask myself " how much more time should I spend trying to resolve this"...
New Zenner
Update... Decided to try one last time and completely S%!t Canned the module... deleted all directories and files and performed a full Re-Install and FTP'd the booger back in...
I was able to configure and authorize it :smoke: I obviously uploaded something wrong the first time. Now I'll sand-box it and see if it does what I need it to do..
Thanks to all who offered up their suggestions and guidance... I sincerely appreciate the help :cheers:
New Zenner
Have things going in sand-box mode... all is well except for the checkout process hangs on step 2 of 3... the continue button doesn't take you to step 3... I'm using the faux card info that square provides for MasterCard..Visa... simply will not continue to step 3 of checkout to confirm the order... any ideas why checkout is hanging? :unsure:
New Zenner
BigB:
Have things going in sand-box mode... all is well except for the checkout process hangs on step 2 of 3... the continue button doesn't take you to step 3... I'm using the faux card info that square provides for MasterCard..Visa... simply will not continue to step 3 of checkout to confirm the order... any ideas why checkout is hanging? :unsure:
Any input on why checkout hangs at step 2 of 3... I have the module configured, authorized and in sand-box mode for testing but keep getting stuck at this step.. I hit the continue button and it goes nowhere.. no idea what may cause this :no:
New Zenner
BigB:
Any input on why checkout hangs at step 2 of 3... I have the module configured, authorized and in sand-box mode for testing but keep getting stuck at this step.. I hit the continue button and it goes nowhere.. no idea what may cause this :no:
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 :unsure:
zennedOut
in reviewing this thread, i can say that you doing something unsupported. from the download page:
- 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.
so this module is not ready for v2.x.
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.
New Zenner
carlwhat:
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.
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 :cool:
Totally Zenned
@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.
The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo
Administrator
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/payment/square/#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.
New Zenner
swguy:
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/payment/square/#square-webpay
I hope this clears up any confusion.
Thank you for coming straight out and stating this. It will surely help many in making the correct decision for implementing the plugin :thumbsup: Perhaps 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 :bigups:
Totally Zenned
BigB:
Thank you for coming straight out and stating this. It will surely help many in making the correct decision for implementing the plugin :thumbsup: Perhaps 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 :bigups:
The developer states on their product page which version of PHP and Zen Cart the plugin is compatible with. As with all plugins there is a degree of trust that must be placed in the developer, having live demos of every one is not practicable. As a customer, I see no reason not to trust the efficacy of this developer's contributions.
Simon
Administrator
Yep. This module works; a number of my clients have purchased it.
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.
Totally Zenned
I was totally unaware that square is not in 2.0. I understand what it takes to maintain a payment module but this means that the number of payment modules safe to use without additional costs are just authorize.net and paypal. Both of which have a monthly fee. Both square and stripe have no fee like that but the stripe module situation is worse.
The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo
Totally Zenned
No monthly fee at PayPal
Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com
Totally Zenned
dbltoe:
No monthly fee at PayPal
that only offers a percentage off - why do I get the feeling that's an affiliate link?
Tried chatting with a guy but the chat window disappeared but he might have been saying there was no monthly fee. This just shouldn't be so hard.
The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo
Totally Zenned
tiny url munged it.
Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com
Totally Zenned
Thanks - I did find another page that said no monthly fee so twice! That's the way it used to be years ago.
The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo
Tell staff why this post should be reviewed.