Reply
Highlighted
Contributor
Posts: 19
Registered: ‎12-08-2013

Re: CIM Hosted Page

[ Edited ]

Thanks for the giving reply,

 

after passing customerid we getting error as below

<code>E00007</code>
<text>User authentication failed due to invalid authentication values.</text>
 
here we passing name and transaction key is working fine in sim service and we able to make the payment also 
 
Please solved problem as soon as possible.
Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: CIM Hosted Page

It this a test account? In the guide page 12. Need to use the correct URL.

Highlighted
Contributor
Posts: 19
Registered: ‎12-08-2013

Re: CIM Hosted Page

Thanks for the giving reply,
 
let know one this if we get the token from the response then we have to place that token in to hidden field token value (<input type="hidden" name="Token"value=""/>) then what happen.
 
as my knowledge we can see hosted page for create customer profile, shipping adders and payment information finally customer save form then your going to redirect our site with customer profile ID. Is it correct.
 
 
Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: CIM Hosted Page

Chapter 4 on the XML guide.

Highlighted
Contributor
Posts: 19
Registered: ‎12-08-2013

Re: CIM Hosted Page

Thanks for the giving reply,

 

we are try to create customer profile:

 

Input XML:

<?xml version="1.0" encoding="utf-8"?>

<createCustomerProfileRequest xmlns= "AnetApi/xml/v1/schema/

AnetApiSchema.xsd">

<merchantAuthentication>

<name>mytestacct</name>

<transactionKey>112223344</transactionKey>

</merchantAuthentication>

</createCustomerProfileRequest>

 

Output XML:

<?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>

Highlighted
Solution
Accepted by topic author KSGRao
‎08-21-2015 01:58 AM
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: CIM Hosted Page

Is there a reason

<createCustomerProfileRequest xmlns= "AnetApi/xml/v1/schema/

AnetApiSchema.xsd">

 

is on two line?

Highlighted
Contributor
Posts: 19
Registered: ‎12-08-2013

Re: CIM Hosted Page

Thanks for the giving reply,

 

Now we able to generating Toke :smileyhappy: