<?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 Re: Missing or Invalid Token while passing request to the new Accept Hosted in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Missing-or-Invalid-Token-while-passing-request-to-the-new-Accept/m-p/59742#M34320</link>
    <description>&lt;P&gt;Please see all variable sent while getting token . I was having same issue and notice sending one htmlentity in description . Fixing that worked for me.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Sep 2017 07:20:00 GMT</pubDate>
    <dc:creator>gsslitt91</dc:creator>
    <dc:date>2017-09-08T07:20:00Z</dc:date>
    <item>
      <title>Missing or Invalid Token while passing request to the new Accept Hosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Missing-or-Invalid-Token-while-passing-request-to-the-new-Accept/m-p/56434#M31228</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A very strange thing is happening.&lt;/P&gt;&lt;P&gt;I am using examples from :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="http://developer.authorize.net/api/reference/features/accept_hosted.html" target="_blank"&gt;http://developer.authorize.net/api/reference/features/accept_hosted.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Now, I am successfully getting a token in my c#.net page by passing json as mentioned in the above url page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I pass that generated token into an asp page having&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;lt;form method="post" action="&lt;A href="https://test.authorize.net/payment/payment" target="_blank"&gt;https://test.authorize.net/payment/payment&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;input type="hidden" name="token" value="&amp;lt;%=t%&amp;gt;" /&amp;gt;&lt;BR /&gt;&amp;lt;INPUT TYPE=SUBMIT VALUE="Click here for the secure payment form" /&amp;gt;&lt;BR /&gt;&amp;lt;/form&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The variable 't' has received the token via Request.QueryString&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now issue is, when I write value="&amp;lt;%=t%&amp;gt;", the response I get is that of "Missing or invalid token"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I pass the actual token value in the value="..", I get the correct payment form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried response writing &amp;lt;%=t%&amp;gt; and it HAS the token value.&lt;/P&gt;&lt;P&gt;Then why I am not getting the proper response when I try passing the value through variable?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please do help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Khush.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 13:01:21 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Missing-or-Invalid-Token-while-passing-request-to-the-new-Accept/m-p/56434#M31228</guid>
      <dc:creator>jamesboss17</dc:creator>
      <dc:date>2016-12-13T13:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Missing or Invalid Token while passing request to the new Accept Hosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Missing-or-Invalid-Token-while-passing-request-to-the-new-Accept/m-p/56470#M31260</link>
      <description>&lt;P&gt;Hey Khush&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you post your request to and response from getHostedProfilePageRequest (&lt;A href="http://developer.authorize.net/api/reference/index.html#customer-profiles-get-accept-customer-profile-page" target="_blank"&gt;http://developer.authorize.net/api/reference/index.html#customer-profiles-get-accept-customer-profile-page&lt;/A&gt;)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From that page, the same request is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;"getHostedProfilePageRequest": {&lt;BR /&gt;"merchantAuthentication": {&lt;BR /&gt;"name": "5KP3u95bQpv",&lt;BR /&gt;"transactionKey": "**"&lt;BR /&gt;},&lt;BR /&gt;"customerProfileId": "YourProfileID",&lt;BR /&gt;"hostedProfileSettings": {&lt;BR /&gt;"setting": [&lt;BR /&gt;{&lt;BR /&gt;"settingName": "hostedProfileReturnUrl",&lt;BR /&gt;"settingValue": "&lt;A href="https://returnurl.com/return/" target="_blank"&gt;https://returnurl.com/return/&lt;/A&gt;"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"settingName": "hostedProfileReturnUrlText",&lt;BR /&gt;"settingValue": "Continue to confirmation page."&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"settingName": "hostedProfilePageBorderVisible",&lt;BR /&gt;"settingValue": "true"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And the sample response:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;"token": "e3X1JmlCM01EV4HVLqJhdbfStNUmKMkeQ/bm+jBGrFwpeLnaX3E6wmquJZtLXEyMHlcjhNPx471VoGzyrYF1/VIDKk/qcDKT9BShN64Noft0toiYq07nn1CD+w4AzK2kwpSJkjS3I92h9YompnDXSkPKJWopwUesi6n/trJ96CP/m4rf4Xv6vVQqS0DEu+e+foNGkobJwjop2qHPYOp6e+oNGNIYcGYc06VkwE3kQ+ZbBpBhlkKRYdjJdBYRwdSRtcE7YPia2ENTFGNuMYZvFv7rBaoBftWMvapK7Leb1QcE1uQ+t/9X0wlamazbJmubdiE4Gg5GSiFFeVMcMEhUGJyloDCkTzY/Yv1tg0kAK7GfLXLcD+1pwu+YAR4MasCwnFMduwOc3sFOEWmhnU/cvQ==",&lt;BR /&gt;"messages": {&lt;BR /&gt;"resultCode": "Ok",&lt;BR /&gt;"message": [&lt;BR /&gt;{&lt;BR /&gt;"code": "I00001",&lt;BR /&gt;"text": "Successful."&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 18:51:23 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Missing-or-Invalid-Token-while-passing-request-to-the-new-Accept/m-p/56470#M31260</guid>
      <dc:creator>eisemann970</dc:creator>
      <dc:date>2016-12-15T18:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Missing or Invalid Token while passing request to the new Accept Hosted</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Missing-or-Invalid-Token-while-passing-request-to-the-new-Accept/m-p/59742#M34320</link>
      <description>&lt;P&gt;Please see all variable sent while getting token . I was having same issue and notice sending one htmlentity in description . Fixing that worked for me.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2017 07:20:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Missing-or-Invalid-Token-while-passing-request-to-the-new-Accept/m-p/59742#M34320</guid>
      <dc:creator>gsslitt91</dc:creator>
      <dc:date>2017-09-08T07:20:00Z</dc:date>
    </item>
  </channel>
</rss>

