<?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 DPM is kicking back an error in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-is-kicking-back-an-error/m-p/17680#M9863</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've set up a checkout procedure with the DPM api here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://iwanttodrawacatforyou.com/?page_id=5162"&gt;http://iwanttodrawacatforyou.com/?page_id=5162&lt;/A&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I fill out the form, I'm given this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3,2,13,The merchant login ID or password is invalid or the account is inactive.,,P,0,,,9.95,,auth_capture,,,,,,,,,,,,,,,,,,,,,,,,,,2FBBB91A562F7D01AB2949EA7747F89A,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I chatted with support, and they're telling me this is because I'm set up in Sandbox mode, and I need to change it to live mode. But I don't think they're right. I have my actual api login ID in the code, and my actual transaction key in the code. I'm not in test mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They suggested I bring the issue here. They said, "&lt;SPAN&gt;Your API login ID and Transaction key have nothing to do with being in sandbox mode. It is a setting you need to change in your code. That is why developer experience is required to make this change.&lt;/SPAN&gt;﻿"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd love some learning! Can anyone here point me in the right direction?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much for your time.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Steve&lt;/P&gt;</description>
    <pubDate>Wed, 05 Oct 2011 13:50:26 GMT</pubDate>
    <dc:creator>blewtllc1</dc:creator>
    <dc:date>2011-10-05T13:50:26Z</dc:date>
    <item>
      <title>DPM is kicking back an error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-is-kicking-back-an-error/m-p/17680#M9863</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've set up a checkout procedure with the DPM api here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://iwanttodrawacatforyou.com/?page_id=5162"&gt;http://iwanttodrawacatforyou.com/?page_id=5162&lt;/A&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I fill out the form, I'm given this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3,2,13,The merchant login ID or password is invalid or the account is inactive.,,P,0,,,9.95,,auth_capture,,,,,,,,,,,,,,,,,,,,,,,,,,2FBBB91A562F7D01AB2949EA7747F89A,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I chatted with support, and they're telling me this is because I'm set up in Sandbox mode, and I need to change it to live mode. But I don't think they're right. I have my actual api login ID in the code, and my actual transaction key in the code. I'm not in test mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They suggested I bring the issue here. They said, "&lt;SPAN&gt;Your API login ID and Transaction key have nothing to do with being in sandbox mode. It is a setting you need to change in your code. That is why developer experience is required to make this change.&lt;/SPAN&gt;﻿"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd love some learning! Can anyone here point me in the right direction?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much for your time.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Steve&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2011 13:50:26 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-is-kicking-back-an-error/m-p/17680#M9863</guid>
      <dc:creator>blewtllc1</dc:creator>
      <dc:date>2011-10-05T13:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: DPM is kicking back an error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-is-kicking-back-an-error/m-p/17682#M9864</link>
      <description>&lt;P&gt;Which API are you using? PHP? If you look in the lib folder in your SDK, you'll see a file called AuthorizeNetDPM.php. If you search for the word sandbox, you'll run across this:&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)
    {
        $time = time();
        $fp = self::getFingerprint($api_login_id, $transaction_key, $amount, $fp_sequence, $time);
        $sim = new AuthorizeNetSIM_Form(
            array(
            'x_amount'        =&amp;gt; $amount,
            'x_fp_sequence'   =&amp;gt; $fp_sequence,
            'x_fp_hash'       =&amp;gt; $fp,
            'x_fp_timestamp'  =&amp;gt; $time,
            'x_relay_response'=&amp;gt; "TRUE",
            'x_relay_url'     =&amp;gt; $relay_response_url,
            'x_login'         =&amp;gt; $api_login_id,
            )
        );
        $hidden_fields = $sim-&amp;gt;getHiddenFieldString();
        $post_url = ($test_mode ? self::SANDBOX_URL : self::LIVE_URL);&lt;/PRE&gt;&lt;P&gt;That means that if you're using this function in your code, you can define test mode by setting the sixth argument to false. The Quick Start example doesn't show these last two arguments, it'll give you test mode true by default if you just copy and paste it as-is.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If creating a form manually, of course, it's just a matter of setting the form action to &lt;A target="_blank" href="https://secure.authorize.net/gateway/transact.dll"&gt;https://secure.authorize.net/gateway/transact.dll&lt;/A&gt;﻿ rather than&amp;nbsp;&lt;A target="_blank" href="https://test.authorize.net/gateway/transact.dll"&gt;https://test.authorize.net/gateway/transact.dll&lt;/A&gt;﻿&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2011 15:05:05 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-is-kicking-back-an-error/m-p/17682#M9864</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2011-10-05T15:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: DPM is kicking back an error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-is-kicking-back-an-error/m-p/17684#M9865</link>
      <description>&lt;P&gt;Thank you VERY much for your response. It gave me several ah-ha moments, and now everything is working just fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's also good to know that I can choose to create my own form instead of calling that function, so long as I include all of the proper fields and post to the right place.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the eye-opening solution!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2011 15:48:54 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-is-kicking-back-an-error/m-p/17684#M9865</guid>
      <dc:creator>blewtllc1</dc:creator>
      <dc:date>2011-10-05T15:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: DPM is kicking back an error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-is-kicking-back-an-error/m-p/17690#M9868</link>
      <description>&lt;P&gt;Glad to help!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2011 17:35:54 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-is-kicking-back-an-error/m-p/17690#M9868</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2011-10-05T17:35:54Z</dc:date>
    </item>
  </channel>
</rss>

