Zen Cart Logo
Forums / Addon Payment Modules / Square WebPay support thread.

Square WebPay support thread.

Views: 128,129

Results 501 to 520 of 800
11 Sep 2023, 15:34
#501
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Square WebPay support thread.

Ok well the new method was installed, I just upgraded and overwrote the files it to the latest version that was available to download from Zen Cart Modules on the website.

11 Sep 2023, 15:37
#502
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,760
Plugin Contributions:
9

Re: Square WebPay support thread.

The files for the old Square that need to be maintained for historical reasons are not overwritten by the new WebPay.

11 Sep 2023, 15:42
#503
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Re: Square WebPay support thread.

no you have misunderstood. The old method has been disabled. The new method was already installed, however it was an older version of the newer method. So it has been upgraded to the latest version of the newer method.

11 Sep 2023, 16:03
#504
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,760
Plugin Contributions:
9

Re: Square WebPay support thread.

There is Square (the original mod) and Square WebPay (the current mod). Both have had more than one version.

If you used the Square mod to process any past orders, leaving those Square files on your site will allow you to view the complete history for those orders.

I you did not use the Square mod to process any orders, removing the old Square files is optional (some folks are just cumpuslsive about "getting rid" of things). WebPay upgrades are generally done to override existing files with the newer version but always check the readme for any extra instructions.

The old Square is still being loaded with 2.0 as of this date, so many will have the Square files and never have used it for processing.

Hopefully, that clarifies what I was saying.

11 Sep 2023, 16:09
#505
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Re: Square WebPay support thread.

ok it doesn't really give me any ideas of why I am getting errors.

11 Sep 2023, 16:24
#506
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,760
Plugin Contributions:
9

Re: Square WebPay support thread.

You are aware that Square was down last week when you reported your error, right?

The are supposedly operational today. https://isSquareUp.com shows the outage on the 7th and 8th.

If you are still having problems, we need to know as many answers to the Posting Tips as you can provide. Also, any error/warning logs should be entered using the # above.

11 Sep 2023, 16:39
#507
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Re: Square WebPay support thread.

Attachment 20386

I'm now getting these errors as well.

11 Sep 2023, 17:14
#508
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,760
Plugin Contributions:
9

Re: Square WebPay support thread.

Since you did not answer any of the posting tips, this is possibly more informational than helpful.:( I have no idea if you are using OPC, a template that might be a problem, or some other situation.

A generic decline means that some information was not entered or entered incorrectly. Since the billing address/zip is an important part of the transaction verificaton, payment gateways will never specify to the customer what was "generically" incorrect. It gives information that bad guys can use to get information not found on hte card. Since the newest WebPay is set to not allow checking out without filling the form with all the info, my money's on the information being incorrect.

One problem that comes up in Chrome and other browsers is that it may be set to automatically fill in the shipping/billing and has a tendency to add the city into the Address 2 block. That will cause a generic decline. Another instance is a user with a corporate CC using their home zip instead of that for the card's billing address. Both situations result in a generic decline.

Review every entry on the checkout page

16 Sep 2023, 10:52
#509
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Square WebPay support thread.

carlwhat:

hi jim,
v 1.0.4 makes use of square SDK version: 17.2.0.20220216. This SDK requires php 7.4 - php 8.0.

the error you are seeing is from php 8.2.

you may be able to run with php 8.1; but i have not tested it.

best.

@carlwhat please write up some copy that explains how to get the updated integration, and I'll put it on the help page. People need to understand that there is an upgrade path.

16 Sep 2023, 19:31
#510
masterrusty avatar

masterrusty

Zen Follower

Join Date:
Mar 2007
Location:
Oregon
Posts:
152
Plugin Contributions:
0

Re: Square WebPay support thread.

carlwhat:

i don't know what to tell you. you seem to have a very rudimentary error that indicates a problem with either your credentials or your oauth token.

i would double check all of that information as well as the instructions on the docs for doing the install. mind you the problem is not with the code (no need to re-upload files), but something is wrong with your settings. or your square admin daashboard.

in your store root you can create a file called test.php with the following information:

<?php require('includes/application_top.php'); include_once DIR_FS_CATALOG . DIR_WS_MODULES . 'payment/square_webPay.php'; include_once DIR_FS_CATALOG . DIR_WS_LANGUAGES . 'english/modules/payment/square_webPay.php'; $test = new square_webPay(); $pulldown = $test->getLocationsPulldownArray(); print_r($pulldown); die(__FILE__ . ':' . __LINE__); ``` > > when you go to: > > [www.mystore.com/test.php](http://www.mystore.com/test.php) > > you should see something like: > > Array ( [0] => Array ( [id] => Default Test Account:[LKCCSZDNNZ0S6]:USD [text] => Default Test Account: USD ) ) /var/www/zcdev/test.php:21 > > if the Array is empty, you have done something wrong. > > best. I ran the test.php and the array is coming up empty. I also compared a fresh download of 1.5.7b to my files. There are no differences in the core files. The OAuth Redirect URL in the module appears to be wrong. It does not include "squareWebPay_handler.php". Attachment 20388 If I have squareWebPay_handler.php in my OAuth Redirect URL in developer.squareup.com, I get a blank white page when clicking ""Click Here to Log in and Authorize Your Account". But if I leave squareWebPay_handler.php out in my OAuth Redirect URL in developer.squareup.com, it redirects to the website main page, but the token does not update in the payment module. Do you know why the requested OAuth Redirect URL in the Square Web Payments Module is not requesting squareWebPay_handler.php? test.fantasycostume.com zen 1.7.5d Php 7.4
16 Sep 2023, 20:46
#511
masterrusty avatar

masterrusty

Zen Follower

Join Date:
Mar 2007
Location:
Oregon
Posts:
152
Plugin Contributions:
0

Re: Square WebPay support thread.

LOL..type on ver...1.5.7d

16 Sep 2023, 21:18
#512
masterrusty avatar

masterrusty

Zen Follower

Join Date:
Mar 2007
Location:
Oregon
Posts:
152
Plugin Contributions:
0

Re: Square WebPay support thread.

xxxxxxx

18 Sep 2023, 15:47
#513
jasonshanks avatar

jasonshanks

Zen Follower

Join Date:
Feb 2009
Location:
atlanta GA
Posts:
296
Plugin Contributions:
0

Re: Square WebPay support thread.

hallos

Looks like i ran into some error logs on my last plugin i needed to install lol. So this is a test domain. Php 8.1 , zencart 1.5.8b. I am using responsive classic. The last plugin i installed was the latest ceon from the github version 5.1.0. Steven had just given me a fix to a issue i was having with 500 errors. I then moved to install the latest squarewebpay 1.0.4. Now i am getting this error log

[18-Sep-2023 07:07:08 America/Los_Angeles] Request URI: /adminfolder/index.php?cmd=modules&set=payment&module=square_webPay&action=edit, IP address: a actual ip address, Language id 1
#0 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Models/ListLocationsResponse.php(15): zen_debug_error_handler()
#1 /home/hostingaccountname/domainname/laravel/vendor/composer/ClassLoader.php(571): include('/home/hostingaccountname/...')
#2 /home/hostingaccountname/domainname/laravel/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
#3 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#4 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(320): class_exists()
#5 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Apis/LocationsApi.php(81): apimatic\jsonmapper\JsonMapper->mapClass()
#6 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(831): Square\Apis\LocationsApi->listLocations()
#7 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(842): square_webPay->getLocationsList()
#8 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(1463): square_webPay->getLocationsPulldownArray()
#9 /home/hostingaccountname/domainname/adminfolder/modules.php(322) : eval()'d code(1): zen_cfg_pull_down_squareWebPay_locations()
#10 /home/hostingaccountname/domainname/adminfolder/modules.php(322): eval()
#11 /home/hostingaccountname/domainname/adminfolder/index.php(11): require('/home/hostingaccountname/...')
--> PHP Deprecated: Return type of Square\Models\ListLocationsResponse::jsonSerialize(bool $asArrayWhenEmpty = false) should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Models/ListLocationsResponse.php on line 87.

[18-Sep-2023 07:07:08 America/Los_Angeles] Request URI: /adminfolder/index.php?cmd=modules&set=payment&module=square_webPay&action=edit, IP address: a actual ip address, Language id 1
#0 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Models/Location.php(12): zen_debug_error_handler()
#1 /home/hostingaccountname/domainname/laravel/vendor/composer/ClassLoader.php(571): include('/home/hostingaccountname/...')
#2 /home/hostingaccountname/domainname/laravel/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
#3 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#4 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(794): ReflectionClass->__construct()
#5 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(540): apimatic\jsonmapper\JsonMapper->createInstance()
#6 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(277): apimatic\jsonmapper\JsonMapper->mapArray()
#7 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(188): apimatic\jsonmapper\JsonMapper->getMappedValue()
#8 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(339): apimatic\jsonmapper\JsonMapper->map()
#9 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Apis/LocationsApi.php(81): apimatic\jsonmapper\JsonMapper->mapClass()
#10 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(831): Square\Apis\LocationsApi->listLocations()
#11 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(842): square_webPay->getLocationsList()
#12 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(1463): square_webPay->getLocationsPulldownArray()
#13 /home/hostingaccountname/domainname/adminfolder/modules.php(322) : eval()'d code(1): zen_cfg_pull_down_squareWebPay_locations()
#14 /home/hostingaccountname/domainname/adminfolder/modules.php(322): eval()
#15 /home/hostingaccountname/domainname/adminfolder/index.php(11): require('/home/hostingaccountname/...')
--> PHP Deprecated: Return type of Square\Models\Location::jsonSerialize(bool $asArrayWhenEmpty = false) should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Models/Location.php on line 807.

[18-Sep-2023 07:07:08 America/Los_Angeles] Request URI: /adminfolder/index.php?cmd=modules&set=payment&module=square_webPay&action=edit, IP address: a actual ip address, Language id 1
#0 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Models/Address.php(14): zen_debug_error_handler()
#1 /home/hostingaccountname/domainname/laravel/vendor/composer/ClassLoader.php(571): include('/home/hostingaccountname/...')
#2 /home/hostingaccountname/domainname/laravel/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
#3 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#4 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(260): is_subclass_of()
#5 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(188): apimatic\jsonmapper\JsonMapper->getMappedValue()
#6 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(541): apimatic\jsonmapper\JsonMapper->map()
#7 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(277): apimatic\jsonmapper\JsonMapper->mapArray()
#8 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(188): apimatic\jsonmapper\JsonMapper->getMappedValue()
#9 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(339): apimatic\jsonmapper\JsonMapper->map()
#10 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Apis/LocationsApi.php(81): apimatic\jsonmapper\JsonMapper->mapClass()
#11 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(831): Square\Apis\LocationsApi->listLocations()
#12 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(842): square_webPay->getLocationsList()
#13 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(1463): square_webPay->getLocationsPulldownArray()
#14 /home/hostingaccountname/domainname/adminfolder/modules.php(322) : eval()'d code(1): zen_cfg_pull_down_squareWebPay_locations()
#15 /home/hostingaccountname/domainname/adminfolder/modules.php(322): eval()
#16 /home/hostingaccountname/domainname/adminfolder/index.php(11): require('/home/hostingaccountname/...')
--> PHP Deprecated: Return type of Square\Models\Address::jsonSerialize(bool $asArrayWhenEmpty = false) should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Models/Address.php on line 260.

[18-Sep-2023 07:07:08 America/Los_Angeles] Request URI: /adminfolder/index.php?cmd=modules&set=payment&module=square_webPay&action=edit, IP address: a actual ip address, Language id 1
#0 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Models/BusinessHours.php(12): zen_debug_error_handler()
#1 /home/hostingaccountname/domainname/laravel/vendor/composer/ClassLoader.php(571): include('/home/hostingaccountname/...')
#2 /home/hostingaccountname/domainname/laravel/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
#3 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#4 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(260): is_subclass_of()
#5 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(188): apimatic\jsonmapper\JsonMapper->getMappedValue()
#6 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(541): apimatic\jsonmapper\JsonMapper->map()
#7 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(277): apimatic\jsonmapper\JsonMapper->mapArray()
#8 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(188): apimatic\jsonmapper\JsonMapper->getMappedValue()
#9 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(339): apimatic\jsonmapper\JsonMapper->map()
#10 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Apis/LocationsApi.php(81): apimatic\jsonmapper\JsonMapper->mapClass()
#11 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(831): Square\Apis\LocationsApi->listLocations()
#12 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(842): square_webPay->getLocationsList()
#13 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(1463): square_webPay->getLocationsPulldownArray()
#14 /home/hostingaccountname/domainname/adminfolder/modules.php(322) : eval()'d code(1): zen_cfg_pull_down_squareWebPay_locations()
#15 /home/hostingaccountname/domainname/adminfolder/modules.php(322): eval()
#16 /home/hostingaccountname/domainname/adminfolder/index.php(11): require('/home/hostingaccountname/...')
--> PHP Deprecated: Return type of Square\Models\BusinessHours::jsonSerialize(bool $asArrayWhenEmpty = false) should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Models/BusinessHours.php on line 55.

[18-Sep-2023 07:07:08 America/Los_Angeles] Request URI: /adminfolder/index.php?cmd=modules&set=payment&module=square_webPay&action=edit, IP address: a actual ip address, Language id 1
#0 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Models/Coordinates.php(12): zen_debug_error_handler()
#1 /home/hostingaccountname/domainname/laravel/vendor/composer/ClassLoader.php(571): include('/home/hostingaccountname/...')
#2 /home/hostingaccountname/domainname/laravel/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
#3 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#4 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(260): is_subclass_of()
#5 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(188): apimatic\jsonmapper\JsonMapper->getMappedValue()
#6 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(541): apimatic\jsonmapper\JsonMapper->map()
#7 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(277): apimatic\jsonmapper\JsonMapper->mapArray()
#8 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(188): apimatic\jsonmapper\JsonMapper->getMappedValue()
#9 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(339): apimatic\jsonmapper\JsonMapper->map()
#10 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Apis/LocationsApi.php(81): apimatic\jsonmapper\JsonMapper->mapClass()
#11 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(831): Square\Apis\LocationsApi->listLocations()
#12 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(842): square_webPay->getLocationsList()
#13 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(1463): square_webPay->getLocationsPulldownArray()
#14 /home/hostingaccountname/domainname/adminfolder/modules.php(322) : eval()'d code(1): zen_cfg_pull_down_squareWebPay_locations()
#15 /home/hostingaccountname/domainname/adminfolder/modules.php(322): eval()
#16 /home/hostingaccountname/domainname/adminfolder/index.php(11): require('/home/hostingaccountname/...')
--> PHP Deprecated: Return type of Square\Models\Coordinates::jsonSerialize(bool $asArrayWhenEmpty = false) should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Models/Coordinates.php on line 76.

What am i doing wrong here ? This is a clean 1.5.8b install. I thought i was home free too lol

18 Sep 2023, 16:02
#514
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Square WebPay support thread.

They're only deprecated warnings and will only be a problem if you move to a higher PHP version. You're getting them because Square WebPay v1.0.4 is only valid for up to PHP v8.0

18 Sep 2023, 16:12
#515
jasonshanks avatar

jasonshanks

Zen Follower

Join Date:
Feb 2009
Location:
atlanta GA
Posts:
296
Plugin Contributions:
0

Re: Square WebPay support thread.

oh ! thank you so much. I was like , what did i break now ? lol So is it okay for me to make a live site using what i have now ? So pretty much just delete them so they don't fill up the folder ?

18 Sep 2023, 16:29
#516
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Square WebPay support thread.

I'm using this plugin on PHP v8.0 so don't have any issues but I do recall that others have had errors/warnings on live sites with PHP > v8.0 - you will need to look back through this thread to see if any are serious and have solutions. Otherwise, there's a more up to date version (paid) in the author's signature.

18 Sep 2023, 23:33
#517
jasonshanks avatar

jasonshanks

Zen Follower

Join Date:
Feb 2009
Location:
atlanta GA
Posts:
296
Plugin Contributions:
0

Re: Square WebPay support thread.

simon1066:

I'm using this plugin on PHP v8.0 so don't have any issues but I do recall that others have had errors/warnings on live sites with PHP > v8.0 - you will need to look back through this thread to see if any are serious and have solutions. Otherwise, there's a more up to date version (paid) in the author's signature.

Got you , good to know. I will use php 8.0 then too for my 1.5.8 installs as well then. Looks like this might be the best free option. If business picks up , I might get that premium version for 8.1 and higher. Thank you so much.

01 Oct 2023, 17:00
#518
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Square WebPay support thread.

Zen Cart 1.5.8a
PHP 8.2
Square 1.0.4

Your transaction failed due to an error: [UNAUTHORIZED] This request could not be authorized.
Error Dump: [UNAUTHORIZED]: This request could not be authorized.

There are error log files but they contain no further information on why it could not be authorized.

01 Oct 2023, 18:06
#519
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,760
Plugin Contributions:
9

Re: Square WebPay support thread.

Try it with 8.0

01 Oct 2023, 18:43
#520
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Square WebPay support thread.

dbltoe:

Try it with 8.0

I went into the plugin, clicked, edit, changed nothing and saved. Now transactions process. We had a different error about a month ago and the same steps fixed it then. The error was:

Your transaction failed due to an error: [UNAUTHORIZED] The Authorization http header of your request was incorrect or expired. The header value is expected to be of the format "Bearer TOKEN" (without quotation marks), where TOKEN is a valid access token (e.g. "Bearer ABC123def456GHI789jkl0").

I'll change the PHP to 8.0. Seems unlikely that is the issue, but worth a try.