<?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 Getting DPM to work. in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-DPM-to-work/m-p/29034#M15266</link>
    <description>&lt;P&gt;Hello everyone, I'm trying to integrate DPM and I followed the guide here:&amp;nbsp;&lt;A href="http://developer.authorize.net/guides/DPM/wwhelp/wwhimpl/js/html/wwhelp.htm" target="_blank"&gt;http://developer.authorize.net/guides/DPM/wwhelp/wwhimpl/js/html/wwhelp.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So Here's my form code (the page the users buys the prodcut from):&lt;/P&gt;&lt;PRE&gt;&amp;lt;?php
require_once 'anet_php_sdk/AuthorizeNet.php'; // The SDK
$relay_response_url = "relay_response.php"; // You will create this file in Step 7.
$api_login_id = 'MY_API_LOGIN_ID';
$transaction_key = 'MY_TRANSACTION_KEY';
$amount = "5.99";
$fp_sequence = "123"; // Any sequential number like an invoice number.
echo AuthorizeNetDPM::getCreditCardForm($amount, $fp_sequence, $relay_response_url,$api_login_id, $transaction_key);
?&amp;gt;&lt;/PRE&gt;&lt;P&gt;Here's my relay_response.php file code:&lt;/P&gt;&lt;PRE&gt;&amp;lt;?php require_once 'anet_php_sdk/AuthorizeNet.php'; // The SDK
$redirect_url = "receipt_page.php"; // Where the user will end up.
$api_login_id = 'MY_API_LOGIN_ID_AGAIN';
$md5_setting = ""; // Your MD5 Setting
$response = new AuthorizeNetSIM($api_login_id, $md5_setting);
if ($response-&amp;gt;isAuthorizeNet())
{
if ($response-&amp;gt;approved)
{
// Do your processing here.
$redirect_url .= '?response_code=1&amp;amp;transaction_id=' .
$response-&amp;gt;transaction_id;
}
else
{
$redirect_url .= '?response_code='.$response-&amp;gt;response_code . 
'&amp;amp;response_reason_text=' . $response-&amp;gt;response_reason_text;
}
// Send the Javascript back to AuthorizeNet, which will redirect user back to 
your site.
echo AuthorizeNetDPM::getRelayResponseSnippet($redirect_url);
}
else
{
echo "Error. Check your MD5 Setting.";
}?&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;And I keep getting this error whenever I try and hit the buy button:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3,2,13,The merchant login ID or password is invalid or the account is inactive.,,P,0,,,5.99,,auth_capture,,,,,,,,,,,,,,,,,,,,,,,,,,2D7E6D34CFEA4A68908E8F868DFFFFF6,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;It's also probably worth mentioning that I'm using a live account, not a test account.&lt;/P&gt;</description>
    <pubDate>Thu, 23 Aug 2012 00:25:37 GMT</pubDate>
    <dc:creator>theMonster</dc:creator>
    <dc:date>2012-08-23T00:25:37Z</dc:date>
    <item>
      <title>Getting DPM to work.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-DPM-to-work/m-p/29034#M15266</link>
      <description>&lt;P&gt;Hello everyone, I'm trying to integrate DPM and I followed the guide here:&amp;nbsp;&lt;A href="http://developer.authorize.net/guides/DPM/wwhelp/wwhimpl/js/html/wwhelp.htm" target="_blank"&gt;http://developer.authorize.net/guides/DPM/wwhelp/wwhimpl/js/html/wwhelp.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So Here's my form code (the page the users buys the prodcut from):&lt;/P&gt;&lt;PRE&gt;&amp;lt;?php
require_once 'anet_php_sdk/AuthorizeNet.php'; // The SDK
$relay_response_url = "relay_response.php"; // You will create this file in Step 7.
$api_login_id = 'MY_API_LOGIN_ID';
$transaction_key = 'MY_TRANSACTION_KEY';
$amount = "5.99";
$fp_sequence = "123"; // Any sequential number like an invoice number.
echo AuthorizeNetDPM::getCreditCardForm($amount, $fp_sequence, $relay_response_url,$api_login_id, $transaction_key);
?&amp;gt;&lt;/PRE&gt;&lt;P&gt;Here's my relay_response.php file code:&lt;/P&gt;&lt;PRE&gt;&amp;lt;?php require_once 'anet_php_sdk/AuthorizeNet.php'; // The SDK
$redirect_url = "receipt_page.php"; // Where the user will end up.
$api_login_id = 'MY_API_LOGIN_ID_AGAIN';
$md5_setting = ""; // Your MD5 Setting
$response = new AuthorizeNetSIM($api_login_id, $md5_setting);
if ($response-&amp;gt;isAuthorizeNet())
{
if ($response-&amp;gt;approved)
{
// Do your processing here.
$redirect_url .= '?response_code=1&amp;amp;transaction_id=' .
$response-&amp;gt;transaction_id;
}
else
{
$redirect_url .= '?response_code='.$response-&amp;gt;response_code . 
'&amp;amp;response_reason_text=' . $response-&amp;gt;response_reason_text;
}
// Send the Javascript back to AuthorizeNet, which will redirect user back to 
your site.
echo AuthorizeNetDPM::getRelayResponseSnippet($redirect_url);
}
else
{
echo "Error. Check your MD5 Setting.";
}?&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;And I keep getting this error whenever I try and hit the buy button:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3,2,13,The merchant login ID or password is invalid or the account is inactive.,,P,0,,,5.99,,auth_capture,,,,,,,,,,,,,,,,,,,,,,,,,,2D7E6D34CFEA4A68908E8F868DFFFFF6,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;It's also probably worth mentioning that I'm using a live account, not a test account.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2012 00:25:37 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-DPM-to-work/m-p/29034#M15266</guid>
      <dc:creator>theMonster</dc:creator>
      <dc:date>2012-08-23T00:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Getting DPM to work.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-DPM-to-work/m-p/29036#M15267</link>
      <description>&lt;P&gt;&lt;A href="http://community.developer.authorize.net/t5/Integration-and-Testing/aim-php-The-merchant-login-ID-or-password-is-invalid-or-the/m-p/19650/highlight/true#M10814" target="_blank"&gt;http://community.developer.authorize.net/t5/Integration-and-Testing/aim-php-The-merchant-login-ID-or-password-is-invalid-or-the/m-p/19650/highlight/true#M10814&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2012 00:40:19 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-DPM-to-work/m-p/29036#M15267</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2012-08-23T00:40:19Z</dc:date>
    </item>
  </channel>
</rss>

