<?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 Trying to simulate a form post using ColdFusion and calling Authorize.net in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trying-to-simulate-a-form-post-using-ColdFusion-and-calling/m-p/96283#M59338</link>
    <description>&lt;P&gt;Authorize.net provides simple HTML to create a submit button that makes a form request. The form shows up as a full page response to the click of the button. Here is what I use that works.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="language-xml"&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;form &lt;SPAN class=""&gt;method=&lt;SPAN class=""&gt;"post" &lt;SPAN class=""&gt;action=&lt;SPAN class=""&gt;"https://test.authorize.net/payment/payment" &amp;gt;
    &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;input &lt;SPAN class=""&gt;type=&lt;SPAN class=""&gt;"hidden" &lt;SPAN class=""&gt;name=&lt;SPAN class=""&gt;"token" &lt;SPAN class=""&gt;value=&lt;SPAN class=""&gt;"#response#" /&amp;gt;
    &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;button &lt;SPAN class=""&gt;class=&lt;SPAN class=""&gt;"Button" &lt;SPAN class=""&gt;type=&lt;SPAN class=""&gt;"Submit"&amp;gt;Continue&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;button&amp;gt;
&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;form&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I need to change this from being a single button and include some of my own stuff first, so I am changing this to do a form post via CFHTTP. Here is (one of ) the things I've tried:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="language-xml"&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;cfhttp &lt;SPAN class=""&gt;url=&lt;SPAN class=""&gt;"https://test.authorize.net/payment/payment" &lt;SPAN class=""&gt;method=&lt;SPAN class=""&gt;"post"&amp;gt;
    &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;cfhttpparam &lt;SPAN class=""&gt;type=&lt;SPAN class=""&gt;"header" &lt;SPAN class=""&gt;name=&lt;SPAN class=""&gt;"Accept-Type" &lt;SPAN class=""&gt;value=&lt;SPAN class=""&gt;"application/json" /&amp;gt;
    &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;cfhttpparam &lt;SPAN class=""&gt;type=&lt;SPAN class=""&gt;"formfield" &lt;SPAN class=""&gt;name=&lt;SPAN class=""&gt;"token" &lt;SPAN class=""&gt;value=&lt;SPAN class=""&gt;"#response#" /&amp;gt;
&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;cfhttp&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Rather than getting the full screen that Authorize.net provides, I simply get a response which shows a status code of 200 even though I am using the same data.&lt;/P&gt;&lt;P&gt;Can someone shed some light on why the CFHTTP versions doesn't work?&lt;/P&gt;</description>
    <pubDate>Wed, 02 Dec 2026 12:26:15 GMT</pubDate>
    <dc:creator>mycheema05</dc:creator>
    <dc:date>2026-12-02T12:26:15Z</dc:date>
    <item>
      <title>Trying to simulate a form post using ColdFusion and calling Authorize.net</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trying-to-simulate-a-form-post-using-ColdFusion-and-calling/m-p/96283#M59338</link>
      <description>&lt;P&gt;Authorize.net provides simple HTML to create a submit button that makes a form request. The form shows up as a full page response to the click of the button. Here is what I use that works.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="language-xml"&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;form &lt;SPAN class=""&gt;method=&lt;SPAN class=""&gt;"post" &lt;SPAN class=""&gt;action=&lt;SPAN class=""&gt;"https://test.authorize.net/payment/payment" &amp;gt;
    &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;input &lt;SPAN class=""&gt;type=&lt;SPAN class=""&gt;"hidden" &lt;SPAN class=""&gt;name=&lt;SPAN class=""&gt;"token" &lt;SPAN class=""&gt;value=&lt;SPAN class=""&gt;"#response#" /&amp;gt;
    &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;button &lt;SPAN class=""&gt;class=&lt;SPAN class=""&gt;"Button" &lt;SPAN class=""&gt;type=&lt;SPAN class=""&gt;"Submit"&amp;gt;Continue&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;button&amp;gt;
&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;form&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I need to change this from being a single button and include some of my own stuff first, so I am changing this to do a form post via CFHTTP. Here is (one of ) the things I've tried:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="language-xml"&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;cfhttp &lt;SPAN class=""&gt;url=&lt;SPAN class=""&gt;"https://test.authorize.net/payment/payment" &lt;SPAN class=""&gt;method=&lt;SPAN class=""&gt;"post"&amp;gt;
    &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;cfhttpparam &lt;SPAN class=""&gt;type=&lt;SPAN class=""&gt;"header" &lt;SPAN class=""&gt;name=&lt;SPAN class=""&gt;"Accept-Type" &lt;SPAN class=""&gt;value=&lt;SPAN class=""&gt;"application/json" /&amp;gt;
    &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;cfhttpparam &lt;SPAN class=""&gt;type=&lt;SPAN class=""&gt;"formfield" &lt;SPAN class=""&gt;name=&lt;SPAN class=""&gt;"token" &lt;SPAN class=""&gt;value=&lt;SPAN class=""&gt;"#response#" /&amp;gt;
&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;cfhttp&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Rather than getting the full screen that Authorize.net provides, I simply get a response which shows a status code of 200 even though I am using the same data.&lt;/P&gt;&lt;P&gt;Can someone shed some light on why the CFHTTP versions doesn't work?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2026 12:26:15 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trying-to-simulate-a-form-post-using-ColdFusion-and-calling/m-p/96283#M59338</guid>
      <dc:creator>mycheema05</dc:creator>
      <dc:date>2026-12-02T12:26:15Z</dc:date>
    </item>
  </channel>
</rss>

