cancel
Showing results for 
Search instead for 
Did you mean: 

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

 

KSGRao
Contributor
1 ACCEPTED SOLUTION

Accepted Solutions

Is there a reason

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

AnetApiSchema.xsd">

 

is on two line?

View solution in original post

26 REPLIES 26

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

RaynorC1emen7
Expert

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>

KSGRao
Contributor

What was the URL when your browser said

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

 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

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

 

how can i pass this parameter

hostedProfileReturnUrl and
hostedProfileReturnUrlText.

using C# can u tell.

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"

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/]

 

 

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.