Re: Square WebPay support thread.
Thanks Scott. Already checked the API logs and the only 401 errors were ObtainToken and these were from last week when I was setting the module up originally.
Everything seems to be working perfectly if it wasn't for the user reports. I put the first few down to user error but my gut now tells me there is an issue.
Assume I should still be using API version 2022-02-16?
Re: Square WebPay support thread.
Quote:
Originally Posted by
Brent
Thanks Scott. Already checked the API logs and the only 401 errors were ObtainToken and these were from last week when I was setting the module up originally.
Everything seems to be working perfectly if it wasn't for the user reports. I put the first few down to user error but my gut now tells me there is an issue.
Assume I should still be using API version 2022-02-16?
brent,
unfortunately i can not debug based on a gut feeling. if you have any error logs, by all means go ahead and post them.
you can change the constant MODULE_PAYMENT_SQ_WEBPAY_LOGGING to Log Always, and see what happens.
the potential for problems could be before ZC sends any data to square, which should hopefully generate an error log. else if the data gets sent to square then you should see it on the API dashboard on the square web site. if you have log always on, you should see that Square log as well in your logs directory.
and yes that is the correct API version to use.
best.
Re: Square WebPay support thread.
/usr/bin/wget https://YOURSTORE/squareWebPay_handler.php This is the cron cmd to use, right?
Re: Square WebPay support thread.
There is discussion on this higher up in the thread. The broad outline is covered in the docs now though.
https://docs.zen-cart.com/user/payme..._token_expiry/
Re: Square WebPay support thread.
Re: Square WebPay support thread.
Using Ver 1.5.7 ppatch 1, I've tried installing the new square module twice. Neither time did it show up under the payment module on the admin site. Any ideas?
Re: Square WebPay support thread.
Quote:
Originally Posted by
pazdar
Using Ver 1.5.7 ppatch 1, I've tried installing the new square module twice. Neither time did it show up under the payment module on the admin site. Any ideas?
i would say you are not installing it properly.
i think all that is needed is a language file and a payment module for a payment module to show up in the admin. they need to be in the right places.
without any log files, i am only venturing a guess. but plenty of store owners were able to get it to show up on the admin with nothing more than the directions that come with the module.
make sure you have not uploaded the for_upload directory.
best.
Re: Square WebPay support thread.
Good evening;
After seeing your email, I erased the payment file under modules, re-uploaded it from the master file for v1.5.7, then re-uploaded the square module. Now it shows up. This time I'm getting "ALERT: Access Token not set:" I do have it set to the correct location. Do I need to change anything in any of the files?
Re: Square WebPay support thread.
Quote:
Originally Posted by
pazdar
Good evening;
After seeing your email, I erased the payment file under modules, re-uploaded it from the master file for v1.5.7, then re-uploaded the square module. Now it shows up. This time I'm getting "ALERT: Access Token not set:" I do have it set to the correct location. Do I need to change anything in any of the files?
i have recently reviewed the docs here:
https://docs.zen-cart.com/user/payment/square/
and found them to be VERY helpful with installation and problem solving.
if you go through those docs and still can not get it working, by all means, come back here.
best.
Re: Square WebPay support thread.
Thanks, I went through them, still not working. Here's what I'm seeing:
ALERT: Access Token not set:
1. Make sure the OAuth Redirect URL in your Square Account "app" is set to
https://www.pazd..........
I've double checked and the handler file is in the main directory