<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic CIM timed out on redirect in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-timed-out-on-redirect/m-p/23685#M12739</link>
    <description>&lt;P&gt;Am so close, I think?&lt;/P&gt;&lt;P&gt;Running CIM PHP sample code and all is working. However, want to redirect to authorize.net for payment profile create. Have added get token to index.php as follows:&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;lt;form method=post action=profile_delete.php&amp;gt; &amp;lt;b&amp;gt;Delete Customer Profile&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt; customerProfileId &amp;lt;input type=text name=customerProfileId value='&amp;lt;?php echo $customerProfileId; ?&amp;gt;'&amp;gt;&amp;lt;br&amp;gt; &amp;lt;input type=submit name=submit value=submit&amp;gt; &amp;lt;/form&amp;gt; &amp;lt;hr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;form method=post action=get_token.php&amp;gt; &amp;lt;b&amp;gt;Get Hosted Profile Page Id Token:&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt; customerProfileId &amp;lt;input type=text name=customerProfileId value='&amp;lt;?php echo $customerProfileId; ?&amp;gt;'&amp;gt;&amp;lt;br&amp;gt; &amp;lt;input type=submit name=submit value=submit&amp;gt; &amp;lt;/form&amp;gt; &amp;lt;hr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;lt;/body&amp;gt; &amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Added get_token.php&lt;/P&gt;&lt;P&gt;&amp;lt;html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?php&lt;/P&gt;&lt;P&gt;/*&lt;/P&gt;&lt;P&gt;D I S C L A I M E R&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARNING: ANY USE BY YOU OF THE SAMPLE CODE PROVIDED IS AT YOUR OWN RISK.&lt;/P&gt;&lt;P&gt;Authorize.Net provphpides this code "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.&lt;/P&gt;&lt;P&gt;Authorize.Net owns and retains all right, title and interest in and to the Automated Recurring Billing intellectual property.&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;include_once ("vars.php");&lt;/P&gt;&lt;P&gt;include_once ("util.php");&lt;/P&gt;&lt;P&gt;//build xml to post&lt;/P&gt;&lt;P&gt;$content =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&amp;lt;?xml version=\"1.0\" encoding=\"utf-8\"?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;getHostedProfilePageRequest xmlns=\"AnetApi/xml/v1/schema/AnetApiSchema.xsd\"&amp;gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; MerchantAuthenticationBlock().&lt;/P&gt;&lt;P&gt;"&amp;lt;customerProfileId&amp;gt;" . $_POST["customerProfileId"] . "&amp;lt;/customerProfileId&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/getHostedProfilePageRequest&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$response = send_xml_request($content);&lt;/P&gt;&lt;P&gt;$parsedresponse = parse_api_response($response);&lt;/P&gt;&lt;P&gt;if ("Ok" == $parsedresponse-&amp;gt;messages-&amp;gt;resultCode) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $token=$parsedresponse-&amp;gt;token;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo "&amp;lt;P&amp;gt;The Token Is: $token";&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;echo "&amp;lt;br&amp;gt;&amp;lt;a href=index.php?customerProfileId="&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; . urlencode($_POST["customerProfileId"])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; . "&amp;gt;Continue&amp;lt;/a&amp;gt;&amp;lt;br&amp;gt;";&lt;/P&gt;&lt;P&gt;echo $token;&lt;/P&gt;&lt;P&gt;?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;form method="post" action="&lt;A href="https://test.authorize.net/profile/manage" target="_blank"&gt;https://test.authorize.net/profile/manage&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;id="formAuthorizeNetPage" style="display:none;"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;input type="hidden" name="Token"&lt;/P&gt;&lt;P&gt;value="pfGaUNntoTxZYeqqYDjGCQ4qyCHcsXGXLJ2i7MPCEiH6CH5n5qKqcl8EBiTClxu01BSeH5eZg7LVUVVzw5kJKVMitQ3pyMB5UZCduMWd6Ku9aT2gyFm69EKMGfyWPmI4p+Bb4TJf2F07rInSrn2MWlM6f2xd7aRu1XBn0WXoPxK1j9FMGX2CNCoCBp3cOXB7"&lt;/P&gt;&lt;P&gt;/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/form&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;input type=”button” onclick= "document.getElementById(&lt;/P&gt;&lt;P&gt;'formAuthorizeNetPage').submit();"&amp;gt;Manage my payment and shipping&lt;/P&gt;&lt;P&gt;information&amp;lt;/button&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Click get token on index and token is displayed, Yea. Click manage payment and shipping and immediatly get "&lt;SPAN&gt;The page has timed out. Please go back to the beginning and try again". Tried putting value = $token in place of the value="pfG..." and get "&lt;SPAN&gt;Missing or invalid token."&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Therefore, I beleive the dummy token in the sample script isnt accepted and my attempt to use my $token isnt valid.&lt;/P&gt;&lt;P&gt;Anyone?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Feb 2012 15:07:34 GMT</pubDate>
    <dc:creator>switt</dc:creator>
    <dc:date>2012-02-28T15:07:34Z</dc:date>
    <item>
      <title>CIM timed out on redirect</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-timed-out-on-redirect/m-p/23685#M12739</link>
      <description>&lt;P&gt;Am so close, I think?&lt;/P&gt;&lt;P&gt;Running CIM PHP sample code and all is working. However, want to redirect to authorize.net for payment profile create. Have added get token to index.php as follows:&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;lt;form method=post action=profile_delete.php&amp;gt; &amp;lt;b&amp;gt;Delete Customer Profile&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt; customerProfileId &amp;lt;input type=text name=customerProfileId value='&amp;lt;?php echo $customerProfileId; ?&amp;gt;'&amp;gt;&amp;lt;br&amp;gt; &amp;lt;input type=submit name=submit value=submit&amp;gt; &amp;lt;/form&amp;gt; &amp;lt;hr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;form method=post action=get_token.php&amp;gt; &amp;lt;b&amp;gt;Get Hosted Profile Page Id Token:&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt; customerProfileId &amp;lt;input type=text name=customerProfileId value='&amp;lt;?php echo $customerProfileId; ?&amp;gt;'&amp;gt;&amp;lt;br&amp;gt; &amp;lt;input type=submit name=submit value=submit&amp;gt; &amp;lt;/form&amp;gt; &amp;lt;hr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;lt;/body&amp;gt; &amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Added get_token.php&lt;/P&gt;&lt;P&gt;&amp;lt;html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?php&lt;/P&gt;&lt;P&gt;/*&lt;/P&gt;&lt;P&gt;D I S C L A I M E R&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARNING: ANY USE BY YOU OF THE SAMPLE CODE PROVIDED IS AT YOUR OWN RISK.&lt;/P&gt;&lt;P&gt;Authorize.Net provphpides this code "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.&lt;/P&gt;&lt;P&gt;Authorize.Net owns and retains all right, title and interest in and to the Automated Recurring Billing intellectual property.&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;include_once ("vars.php");&lt;/P&gt;&lt;P&gt;include_once ("util.php");&lt;/P&gt;&lt;P&gt;//build xml to post&lt;/P&gt;&lt;P&gt;$content =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&amp;lt;?xml version=\"1.0\" encoding=\"utf-8\"?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;getHostedProfilePageRequest xmlns=\"AnetApi/xml/v1/schema/AnetApiSchema.xsd\"&amp;gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; MerchantAuthenticationBlock().&lt;/P&gt;&lt;P&gt;"&amp;lt;customerProfileId&amp;gt;" . $_POST["customerProfileId"] . "&amp;lt;/customerProfileId&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/getHostedProfilePageRequest&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$response = send_xml_request($content);&lt;/P&gt;&lt;P&gt;$parsedresponse = parse_api_response($response);&lt;/P&gt;&lt;P&gt;if ("Ok" == $parsedresponse-&amp;gt;messages-&amp;gt;resultCode) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $token=$parsedresponse-&amp;gt;token;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo "&amp;lt;P&amp;gt;The Token Is: $token";&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;echo "&amp;lt;br&amp;gt;&amp;lt;a href=index.php?customerProfileId="&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; . urlencode($_POST["customerProfileId"])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; . "&amp;gt;Continue&amp;lt;/a&amp;gt;&amp;lt;br&amp;gt;";&lt;/P&gt;&lt;P&gt;echo $token;&lt;/P&gt;&lt;P&gt;?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;form method="post" action="&lt;A href="https://test.authorize.net/profile/manage" target="_blank"&gt;https://test.authorize.net/profile/manage&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;id="formAuthorizeNetPage" style="display:none;"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;input type="hidden" name="Token"&lt;/P&gt;&lt;P&gt;value="pfGaUNntoTxZYeqqYDjGCQ4qyCHcsXGXLJ2i7MPCEiH6CH5n5qKqcl8EBiTClxu01BSeH5eZg7LVUVVzw5kJKVMitQ3pyMB5UZCduMWd6Ku9aT2gyFm69EKMGfyWPmI4p+Bb4TJf2F07rInSrn2MWlM6f2xd7aRu1XBn0WXoPxK1j9FMGX2CNCoCBp3cOXB7"&lt;/P&gt;&lt;P&gt;/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/form&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;input type=”button” onclick= "document.getElementById(&lt;/P&gt;&lt;P&gt;'formAuthorizeNetPage').submit();"&amp;gt;Manage my payment and shipping&lt;/P&gt;&lt;P&gt;information&amp;lt;/button&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Click get token on index and token is displayed, Yea. Click manage payment and shipping and immediatly get "&lt;SPAN&gt;The page has timed out. Please go back to the beginning and try again". Tried putting value = $token in place of the value="pfG..." and get "&lt;SPAN&gt;Missing or invalid token."&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Therefore, I beleive the dummy token in the sample script isnt accepted and my attempt to use my $token isnt valid.&lt;/P&gt;&lt;P&gt;Anyone?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2012 15:07:34 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-timed-out-on-redirect/m-p/23685#M12739</guid>
      <dc:creator>switt</dc:creator>
      <dc:date>2012-02-28T15:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: CIM timed out on redirect</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-timed-out-on-redirect/m-p/23687#M12740</link>
      <description>&lt;P&gt;Resolved:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;form method="post" action="&lt;A href="https://test.authorize.net/profile/manage" target="_blank"&gt;https://test.authorize.net/profile/manage&lt;/A&gt;" id="formAuthorizeNetPage" style="display:none;"&amp;gt; &amp;lt;input type="hidden" name="Token" value="&amp;lt;?php echo $token; ?&amp;gt;" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2012 15:34:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-timed-out-on-redirect/m-p/23687#M12740</guid>
      <dc:creator>switt</dc:creator>
      <dc:date>2012-02-28T15:34:16Z</dc:date>
    </item>
  </channel>
</rss>

