From 2d3614e7fd38178746e030e8501303e6d1c670dc Mon Sep 17 00:00:00 2001 From: WillCodeForCats <48533968+WillCodeForCats@users.noreply.github.com> Date: Sun, 31 May 2026 22:52:37 -0700 Subject: [PATCH] Remove setClientId in execute() method Sending a clientId in the request causes E00013 "The field is invalid." error when trying to submit a new transaction. See issue #474 for details. --- lib/net/authorize/api/controller/base/ApiOperationBase.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/net/authorize/api/controller/base/ApiOperationBase.php b/lib/net/authorize/api/controller/base/ApiOperationBase.php index bb62d688..d558ab01 100644 --- a/lib/net/authorize/api/controller/base/ApiOperationBase.php +++ b/lib/net/authorize/api/controller/base/ApiOperationBase.php @@ -109,8 +109,6 @@ public function execute($endPoint = \net\authorize\api\constants\ANetEnvironment { $this->beforeExecute(); - $this->apiRequest->setClientId("sdk-php-" . \net\authorize\api\constants\ANetEnvironment::VERSION); - $this->logger->info("Request Creation Begin"); $this->logger->debug($this->apiRequest); // $xmlRequest = $this->serializer->serialize($this->apiRequest, 'xml');