cancel
Showing results for 
Search instead for 
Did you mean: 

CIM - Error Code E00045

Hi Everybody,

 

I dont know why this is wrong, can you let me know how to fix it ? It works fine some months ago.

 

<?xml version="1.0" encoding="utf-8"?>
<getHostedProfilePageRequest xmlns="https://api.authorize.net/xml/v1/schema/AnetApiSchema.xsd">
<merchantAuthentication>
<name>' . MODULE_PAYMENT_AUTHORIZENET_CIM_LOGIN . '</name>
<transactionKey>' . MODULE_PAYMENT_AUTHORIZENET_CIM_TRANSACTION_KEY . '</transactionKey>
</merchantAuthentication>
<customerProfileId>' . $customers_info->fields['cim_customer_profile_id'] . '</customerProfileId>
<hostedProfileSettings>
<setting>
<settingName>hostedProfilePageBorderVisible</settingName>
<settingValue>false</settingValue>
</setting>
<setting>
<settingName>hostedProfileIFrameCommunicatorUrl</settingName>
<settingValue>' . zen_href_link(FILENAME_ACCOUNT, '', true) . '</settingValue>
</setting>
</hostedProfileSettings>
</getHostedProfilePageRequest>

 

 

This is my response from Authorize.net

 

<?xml version="1.0" encoding="utf-8"?><ErrorResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><messages><resultCode>Error</resultCode><message><code>E00045</code><text>The root node does not reference a valid XML namespace.</text></message></messages></ErrorResponse>
 

 

Thanks.

cvhainb
Member
1 ACCEPTED SOLUTION

Accepted Solutions

I think it only work if the xmlns is exactly

<getHostedProfilePageRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">

View solution in original post

RaynorC1emen7
Expert
2 REPLIES 2

I think it only work if the xmlns is exactly

<getHostedProfilePageRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
RaynorC1emen7
Expert

It works fine. Thank you so much.