Authorize.net AIM integration in PHP using DOMElement and curl