Quote Originally Posted by Pejjy View Post
I've been using Square Webpay successfully with no problems for 6 months or so on 6 shops managed by myself.

Yesterday, a customer tried to pay on one of the shops and the payment failed with a message similar to
"Authorization failed to instantiate...."

This shop is running on
Zen Cart 1.5.8a
PHP Version: 8.1.27

I've tested this myself and the problem is with Zen Cart and Square Webpay. My other 5 shops are all running fine on the same version of Square, PHP and either Zen Cart 1.5.8 or 1.5.7.

I have created a new Application ID and OAUTH (application secret) on the afflicted shop and entered these details into my Zen Cart Square Webpay module but when I click on the link "click here to log in and authorize your account" I just get a completely blank screen.
I've checked and rechecked (repeatedly) and I can't find the error.

I've tried 3 different browsers with the same result. I've deleted cookies, browsing history etc.. and I'm still getting a blank screen.

Please help!
Which version of Square WebPay?
Noting that the version in Plugins is only guaranteed to work up to PHP 8.0 with ZC v1.5.6 & v1.5.7 (You might have got lucky with your ZC 1.5.7 & 1.5.8 sites, especially if you've applied some of the code changes which, from memory, have been mentioned in this thread.)

A blank screen should have generated a debug file in your logs folder.