Square did a change to their API that has broken this module. Customers are seeing HTTP 500 after clicking Confirm Order on Step 3. I'm getting the following error in my logs:
The last successful order I had with this module was on the 26th of February.Code:[04-Mar-2020 13:37:39 America/Chicago] PHP Fatal error: Uncaught Error: Call to undefined method SquareConnect\Configuration::callApi() in \www\store\includes\classes\vendors\square\connect\lib\Api\OAuthApi.php:134 Stack trace: #0 \www\store\includes\classes\vendors\square\connect\lib\Api\OAuthApi.php(78): SquareConnect\Api\OAuthApi->obtainTokenWithHttpInfo(Object(SquareConnect\Model\ObtainTokenRequest)) #1 \www\store\includes\modules\payment\square.php(692): SquareConnect\Api\OAuthApi->obtainToken(Object(SquareConnect\Model\ObtainTokenRequest)) #2 \www\store\includes\modules\payment\square.php(557): square->renewOAuthToken() #3 \www\store\includes\modules\payment\square.php(492): square->token_refresh_check() #4 \www\store\includes\modules\payment\square.php(356): square->getAccessToken() #5 \www\store\includes\classes\payment.php(245): square->before_process() #6 \www\store\includes\modules\checkout_process.php(84): payment->before_process() #7 \www\store\includes\modules\pages\checkout_process\header_php.php(14): require('\\www\\sto...') #8 \www\store\index.php(36): require('\\www\\sto...') #9 {main} thrown in \www\store\includes\classes\vendors\square\connect\lib\Api\OAuthApi.php on line 134
Unfortunately, because of this problem, I'm not able to use the Admin site Payments Module configuration page to disable this module so I can enable another. Help!


Reply With Quote
