cancel
Showing results for 
Search instead for 
Did you mean: 

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

uopjohnson
Member
1 REPLY 1

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.

uopjohnson
Member