Solved! Go to Solution.
01-08-2014 04:48 AM
Is there a reason
<createCustomerProfileRequest xmlns= "AnetApi/xml/v1/schema/
AnetApiSchema.xsd">
is on two line?
01-09-2014 09:47 AM
It in the documentation http://developer.authorize.net/api/cim/
01-08-2014 05:13 AM
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>
01-08-2014 05:41 AM
What was the URL when your browser said
"The page has timed out. Please go back to the beginning and try again."
01-08-2014 05:52 AM
When we click on "Manage my payment and shipping information" this button, we are redirecting to the below url
01-08-2014 06:06 AM
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
01-08-2014 06:14 AM
how can i pass this parameter
hostedProfileReturnUrl and
hostedProfileReturnUrlText.
using C# can u tell.
01-08-2014 06:31 AM
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"
01-08-2014 06:37 AM - edited 01-08-2014 06:39 AM
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/]
01-08-2014 07:33 AM
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.
01-08-2014 07:50 AM