I know of the limit to 255 characters from the web documentation, but in the past and again recently this SDK https://github.com/AuthorizeNet/sdk-java has been throwing exceptions when I Merchant.postTransaction() Orders with Descriptions that contain ampersands (&) or apostrophes (').
The quick brute force solution is usually to just URL Encode this specific description content to get it through the API, but what are the true specs for this data?
Apache Utilities like escapeXML() or escapeJavascript() don't seem to match what this API layer level is expecting. The in the past I've forked the SDK to change when/where/how it encodes the final POST request, but that isn't a long term solution when people pull in the offical SDK from a repository and trigger this error.
Is there a more technical low level equivalent to
https://developer.authorize.net/api/reference/index.html#payment-transactions-charge-a-credit-card
that is a closer match to the Java SDK?
~Thanks
โ11-04-2018 12:32 PM
I have this problem too,
โ11-05-2018 03:15 AM
Am too facing the same issue from past few days. Hope you guys can sortit out. Thanks and Regards, Alex Parkar.
โ11-05-2018 09:58 AM