I've experienced problem while working with latest version of AuthorizeNet library (downloaded and built latest source code version from GitHub).
Method CheckForErrors() in HttpXmlUtility class traverses xmlDoc (response) and parses it.
By that algorythm, first child element of document element will be parsed and returned, and it turns to be <messages>...</messages> element, which is wrong; it should be <directResponse>...</directResponse> element, since this is where all data are stored.
Is it a known bug, and when a fix could be expected?
Thanx,
SmartstubsDeveloper
02-11-2015 09:55 AM
Branch it and fix it.
02-11-2015 12:10 PM
How can i know if only directResponse node should be parsed and returned, or entire xml response?
AuthorizeNet deserializes this xml response into "createCustomerProfileTransactionResponse" or something similar, and all these response classes should be changed if entire xml response needs to be parsed.
I made fix for me locally, just wonder if it will be fixed on master branch, i don't think i can commit code there :)
02-12-2015 02:34 AM