Commit 3f6a31a
committed
fix: stop sending clientId to avoid E00013 errors
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).1 parent 866bd82 commit 3f6a31a
1 file changed
Lines changed: 1 addition & 2 deletions
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
| 63 | + | |
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
| |||
0 commit comments