ZC Version 2.2.2 with PHP 8.5, OPC and WebPay 3.1.2
The ID and Secret are verified and from production vs test. Callback URL established correctly as well.
I cannot verify that the customer is using the correct SDK until tomorrow (I forgot to look when I was in there)
The upgrade was done by first removing the includes/modules/payment/square_webPay folder per instructions.
Purchase attempts are getting " Unable to process payment due to a communications error. You may try again or contact us for assistance."
Log file is:
Code:
[04-Jun-2026 00:00:52 UTC] Request URI: /index.php?main_page=checkout_process, IP address: 246.197.16.99, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /includes/modules/payment/square_webPay.php(535): trigger_error()
#2 /includes/modules/payment/square_webPay.php(514): square_webPay->logSquareApiException()
#3 /includes/modules/payment/square_webPay.php(469): square_webPay->paymentRequest()
#4 /includes/classes/payment.php(382): square_webPay->before_process()
#5 /includes/modules/checkout_process.php(110): payment->before_process()
#6 /includes/modules/pages/checkout_process/header_php.php(13): require('/home/spicdavi/...')
#7 /index.php(40): require('/home/******/...')
--> PHP Notice: Code: 400-> API request failed
Status code: 400
Body: {"errors": [{"code": "INVALID_CARD_DATA","detail": "Card nonce not found in this application environment. Please ensure an application ID belonging to the same environment is used when generating the nonce.","category": "INVALID_REQUEST_ERROR"}]}
{} in /includes/modules/payment/square_webPay.php on line 535.