Skip to content

Remove setClientId in execute() method#475

Open
WillCodeForCats wants to merge 1 commit into
AuthorizeNet:masterfrom
WillCodeForCats:remove-clientid
Open

Remove setClientId in execute() method#475
WillCodeForCats wants to merge 1 commit into
AuthorizeNet:masterfrom
WillCodeForCats:remove-clientid

Conversation

@WillCodeForCats
Copy link
Copy Markdown

@WillCodeForCats WillCodeForCats commented Jun 1, 2026

Sending a clientId in the request causes E00013 "The field is invalid." error when trying to submit a new transaction.

Fixes issue #474.

Sending a clientId in the request causes E00013 "The field is invalid." error when trying to submit a new transaction. See issue AuthorizeNet#474 for details.
karl-loebach added a commit to karl-loebach/sdk-java that referenced this pull request Jun 3, 2026
The SDK injected an undocumented `clientId` (`sdk-java-<version>`) onto every request via the
controller constructor. The Authorize.Net API now rejects requests containing this field with
`E00013 "The field is invalid."`

Removing the `setClientId()` call leaves the field null so JAXB omits it from the serialized
request. Mirrors the sdk-php fix in AuthorizeNet/sdk-php#475 (fixes AuthorizeNet/sdk-php#474).
karl-loebach added a commit to karl-loebach/sdk-java that referenced this pull request Jun 3, 2026
The SDK injected an undocumented `clientId` (`sdk-java-<version>`) onto every request via the
controller constructor. The Authorize.Net API now rejects requests containing this field with
`E00013 "The field is invalid."`

Removing the `setClientId()` call leaves the field null so JAXB omits it from the serialized
request. Mirrors the sdk-php fix in AuthorizeNet/sdk-php#475 (fixes AuthorizeNet/sdk-php#474).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant