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

CIM Hosted Page

Here we going to save customer profile using Customer Information Manager [CIM] . But we want to know whether there is any  hosting page at your side. so please clarify us regarding hosting page to save customer profile.
 
If there is any hosting page at your side. so please tell us how to implement to save customer profile? 
 
If there is no hosting page  please give some alternate solution to save customer profile

 


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

View solution in original post


All Replies
Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: CIM Hosted Page

It in the documentation http://developer.authorize.net/api/cim/

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

Re: CIM Hosted Page

Thanks for your repaly.As you mentioned in the document we have implemented but we are getting error

"The page has timed out. Please go back to the beginning and try again."Below is the code snippet how we are implemented. so please let me know the solution. 

 

I am integrating Authoriz.net credit card hosted CIM, with .Net Frame work 4.0 and C# 

 

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CIMSample.aspx.cs" Inherits="CIMSample" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form method="post" action="https://secure.authorize.net/profile/manage" id="formAuthorizeNetPage"
style="display: none;">
<input type="hidden" name="Token" value="pfGaUNntoTxZYeqqYDjGCQ4qyCHcsXGXLJ2i7MPCEiH6CH5n5qKqcl8EBiTClxu01B
SeH5eZg7LVUVVzw5kJKVMitQ3pyMB5UZCduMWd6Ku9aT2gyFm69EKMGfyWPmI4p+Bb4TJf2F0
7rInSrn2MWlM6f2xd7aRu1XBn0WXoPxK1j9FMGX2CNCoCBp3cOXB7"/>

</form>
<button type="button" onclick="document.getElementById(
'formAuthorizeNetPage').submit();">
Manage my payment and shipping information</button>
</body>
</html>

Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: CIM Hosted Page

What was the URL when your browser said

"The page has timed out. Please go back to the beginning and try again."

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

Re: CIM Hosted Page

 When we click on  "Manage my payment and shipping information" this button, we are redirecting to the below url

 

 https://secure.authorize.net/profile/manage

Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: CIM Hosted Page

Way the minture, did you use GetHostedProfilePage to get your Token with your customer profile ID?

Section "Using a Hosted Form" Step 4 on the CIM_SOAP_guide.pdf

 

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

Re: CIM Hosted Page

how can i pass this parameter

hostedProfileReturnUrl and
hostedProfileReturnUrlText.

using C# can u tell.

Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: CIM Hosted Page

[ Edited ]

If you are using the soap, it something like

CustomerProfileAPI.CustomerProfileWS.SettingType[] _setting = new CustomerProfileWS.SettingType[1];
_setting[0] = new CustomerProfileWS.SettingType();
_setting[0].settingName = "hostedProfileReturnUrl";
_setting[0].settingValue = "http://www.something.com";
CustomerProfileWS.GetHostedProfilePageResponseType resp = service.GetHostedProfilePage(auth, custProfId, _setting);

 If you using XML, it in the doc under "Input Parameters for getHostedProfilePageRequest"

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

Re: CIM Hosted Page

I can not have a class as you mention.

 

Can you porvied sample code for soap. already download code from your website using this url [http://developer.authorize.net/downloads/samplecode/]

 

 

Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: CIM Hosted Page

If you are using SOAP/Web services and using the sample code, updated web/service reference in visual studio. The sample came out before the hosted page.