<?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: Question about USING the DPM Method in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Question-about-USING-the-DPM-Method/m-p/34173#M18660</link>
    <description>&lt;P&gt;Sort of.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;public static function getCreditCardForm($amount, $fp_sequence, $relay_response_url, $api_login_id, $transaction_key, $test_mode = true, $prefill = true)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;As you can see, getCreditCardForm has a $test_mode argument.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;echo AuthorizeNetDPM::getCreditCardForm($amount, $fp_sequence, $url, $api_login_id, $transaction_key);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;You need to add a $test_mode argument to the end of that call.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;public static function directPostDemo($url, $api_login_id, $transaction_key, $amount = "0.00", $md5_setting = "")&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Then add a $test_mode argument to the end of this function definition. Now you can call directPostDemo in either test mode or live mode by passing true for test mode or false for live mode.&lt;/P&gt;</description>
    <pubDate>Wed, 08 May 2013 17:35:31 GMT</pubDate>
    <dc:creator>TJPride</dc:creator>
    <dc:date>2013-05-08T17:35:31Z</dc:date>
    <item>
      <title>Question about USING the DPM Method</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Question-about-USING-the-DPM-Method/m-p/34149#M18637</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I was wondering If i can use the directPostDemo function to process transaction on a live working website. I would just modify the code a little bit. Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 05 May 2013 21:30:21 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Question-about-USING-the-DPM-Method/m-p/34149#M18637</guid>
      <dc:creator>eldan88</dc:creator>
      <dc:date>2013-05-05T21:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Question about USING the DPM Method</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Question-about-USING-the-DPM-Method/m-p/34173#M18660</link>
      <description>&lt;P&gt;Sort of.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;public static function getCreditCardForm($amount, $fp_sequence, $relay_response_url, $api_login_id, $transaction_key, $test_mode = true, $prefill = true)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;As you can see, getCreditCardForm has a $test_mode argument.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;echo AuthorizeNetDPM::getCreditCardForm($amount, $fp_sequence, $url, $api_login_id, $transaction_key);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;You need to add a $test_mode argument to the end of that call.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;public static function directPostDemo($url, $api_login_id, $transaction_key, $amount = "0.00", $md5_setting = "")&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Then add a $test_mode argument to the end of this function definition. Now you can call directPostDemo in either test mode or live mode by passing true for test mode or false for live mode.&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2013 17:35:31 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Question-about-USING-the-DPM-Method/m-p/34173#M18660</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2013-05-08T17:35:31Z</dc:date>
    </item>
  </channel>
</rss>

