Reply
Member
Posts: 2
Registered: ‎05-11-2011

PHP SDK xmlns errors

I'm using PHP sdk 1.1.3 and the transaction details API.  The XML that is being returned is causing simpleXML issue warnings of:

namespace warning : xmlns: URI AnetApi/xml/v1/schema/AnetApiSchema.xsd is not absolute in anet_sdk/lib/AuthorizeNetTD.php on line 165

 

What I could find in the forum recommended regexing this bad value away before running it through SimpleXML, but none of these results were using the SDKs provided.

 

Am I missing some step?  It looks like other than this issue I'm getting exactly what I'm looking for.  Should I just modify the SDK or is there an update or a feature that I'm missing?

 

Thanks

Member
Posts: 2
Registered: ‎05-11-2011

Re: PHP SDK xmlns errors

I see no that your supressing errors on all the SimpleXML calls - but I wasn't cathing this state in my custom error handlers.  It's working now so I guess this is the solution, but I'm not sure why you're passing bad XML name space information.