Here's what it looks like in the zip file.
Attachment 20656
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
Printable View
Here's what it looks like in the zip file.
Attachment 20656
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
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?
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"...
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:
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:
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:
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.Quote:
- 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 :cool: