<?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 AuthorizeNetDPM Form in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AuthorizeNetDPM-Form/m-p/33420#M17935</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am new to PHP scripting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When implementing the (DPM) I was interested in passing the name and address information into the credit card request form. i have created a direct_post.php file on the fly for each visitor. It now includes these additional values:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AuthorizeNetDPM::directPostDemo($url, $api_login_id, $transaction_key, $amount, $md5_setting, $FName, $LName, $Address, $City, $State, $Zip, $Country);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need assistance with placing these values into the form as a "prefill":&lt;/P&gt;&lt;P&gt;$FName, $LName, $Address, $City, $State, $Zip, $Country&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) there might be additional files I need to pass these variables through&lt;/P&gt;&lt;P&gt;2) then what would be the code that will populate the AuthorizeNetDPM.php file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Fri, 08 Mar 2013 17:30:53 GMT</pubDate>
    <dc:creator>markm_ac</dc:creator>
    <dc:date>2013-03-08T17:30:53Z</dc:date>
    <item>
      <title>AuthorizeNetDPM Form</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AuthorizeNetDPM-Form/m-p/33420#M17935</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am new to PHP scripting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When implementing the (DPM) I was interested in passing the name and address information into the credit card request form. i have created a direct_post.php file on the fly for each visitor. It now includes these additional values:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AuthorizeNetDPM::directPostDemo($url, $api_login_id, $transaction_key, $amount, $md5_setting, $FName, $LName, $Address, $City, $State, $Zip, $Country);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need assistance with placing these values into the form as a "prefill":&lt;/P&gt;&lt;P&gt;$FName, $LName, $Address, $City, $State, $Zip, $Country&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) there might be additional files I need to pass these variables through&lt;/P&gt;&lt;P&gt;2) then what would be the code that will populate the AuthorizeNetDPM.php file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2013 17:30:53 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AuthorizeNetDPM-Form/m-p/33420#M17935</guid>
      <dc:creator>markm_ac</dc:creator>
      <dc:date>2013-03-08T17:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: AuthorizeNetDPM Form</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AuthorizeNetDPM-Form/m-p/33453#M17964</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="ColorBandedcontent" style="position: relative; padding-bottom: 0px; padding-left: 3px; padding-right: 3px; clear: both; padding-top: 0px;"&gt;
&lt;DIV id="imcontent" style="margin-left: 12px;"&gt;
&lt;DIV style="font-family: MS Shell Dlg 2; direction: ltr; color: #000000; font-size: 9pt;"&gt;Hi,&lt;/DIV&gt;
&lt;DIV style="font-family: MS Shell Dlg 2; direction: ltr; color: #000000; font-size: 9pt;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style="font-family: MS Shell Dlg 2; direction: ltr; color: #000000; font-size: 9pt;"&gt;The "directPostDemo" is really only designed to show one example of how a form could be created. As such, it doesn't really have a lot of flexibility and can't do what you are asking without direct modification. I would recommend that you look at the source code behind the demo and create your own similar function that allows you to prepopulate data.&lt;BR /&gt;&lt;BR /&gt;If this is data that you have already collected from the customer, you may also consider sending it using hidden form fields instead of text input boxes.&lt;/DIV&gt;
&lt;DIV style="font-family: MS Shell Dlg 2; direction: ltr; color: #000000; font-size: 9pt;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style="font-family: MS Shell Dlg 2; direction: ltr; color: #000000; font-size: 9pt;"&gt;Thanks,&lt;/DIV&gt;
&lt;DIV style="font-family: MS Shell Dlg 2; direction: ltr; color: #000000; font-size: 9pt;"&gt;Joy&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 12 Mar 2013 20:21:52 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AuthorizeNetDPM-Form/m-p/33453#M17964</guid>
      <dc:creator>Joy</dc:creator>
      <dc:date>2013-03-12T20:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: AuthorizeNetDPM Form</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AuthorizeNetDPM-Form/m-p/33476#M17986</link>
      <description>Hi Joy, Thanks for your reply. I have already passed the values to direct_post.php: ( this is created "on the fly" with the additional values ) $amount = "19.99"; $FName = "Joe"; $LName = "Buyer"; $Address = "1234 Payment Way"; $City = "Las Vegas"; $State = "NV"; $Zip = "89123"; $Country = "US"; AuthorizeNetDPM::directPostDemo($url, $api_login_id, $transaction_key, $amount, $md5_setting, $FName, $LName, $Address, $City, $State, $Zip, $Country); I have 2 questions: 1) where would I configure the script to pass the additional values from AuthorizeNetDPM::directPostDemo( ) Default: url, $api_login_id, $transaction_key, $amount, $md5_setting, Newly added: $FName, $LName, $Address, $City, $State, $Zip, $Country 2) after they are passed to: anet_php_sdk/lib/AuthorizeNetDPM.php what would be the actual php code that would prefill the the text form values for $FName, $LName, $Address, $City, $State, $Zip, $Country? Mark</description>
      <pubDate>Wed, 13 Mar 2013 06:27:48 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AuthorizeNetDPM-Form/m-p/33476#M17986</guid>
      <dc:creator>markm_ac</dc:creator>
      <dc:date>2013-03-13T06:27:48Z</dc:date>
    </item>
  </channel>
</rss>

