<?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: transaction approved but still says error. DPM/ PHP in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/transaction-approved-but-still-says-error-DPM-PHP/m-p/22171#M12019</link>
    <description>&lt;P&gt;Did you setup the relay response url in your merchant account? And I think it need the absolute URL not relative URL&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jan 2012 22:19:34 GMT</pubDate>
    <dc:creator>RaynorC1emen7</dc:creator>
    <dc:date>2012-01-25T22:19:34Z</dc:date>
    <item>
      <title>transaction approved but still says error. DPM/ PHP</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/transaction-approved-but-still-says-error-DPM-PHP/m-p/22161#M12014</link>
      <description>&lt;P&gt;I'm trying to setup dpm using php. The transaction goes through auth.net and is approved, it shows up in transaction list, auth.net also emails me confirm receipt, but it says an error occured after processing the transaction. Any help would be greatly appreciated. Thank You.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;link to site:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://www.bookwedge.net/checkout_form.php"&gt;http://www.bookwedge.net/checkout_form.php&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;checkout_form.php&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?php require_once 'anet_php_sdk/AuthorizeNet.php';&lt;BR /&gt;$relay_response_url = "relay_response.php";&lt;BR /&gt;$api_login_id = '4Tzqb74M4';&lt;BR /&gt;$transaction_key = '76Pwp7b32LH5H669';&lt;BR /&gt;$amount = "5.99";&lt;BR /&gt;$fp_sequence = "123";&lt;BR /&gt;echo AuthorizeNetDPM::getCreditCardForm($amount, $fp_sequence, $relay_response_url,$api_login_id, $transaction_key);?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;relay_response.php&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?php require_once 'anet_php_sdk/AuthorizeNet.php';&lt;BR /&gt;$redirect_url = "order_receipt.php";&lt;BR /&gt;$api_login_id = '4Tzqb74M4';&lt;BR /&gt;$md5_setting = "12345";&lt;BR /&gt;$response = new AuthorizeNetSIM($api_login_id, $md5_setting);&lt;BR /&gt;if ($response-&amp;gt;isAuthorizeNet())&lt;BR /&gt;{&lt;BR /&gt;if ($response-&amp;gt;approved)&lt;BR /&gt;{&lt;BR /&gt;$redirect_url .= '?response_code=1&amp;amp;transaction_id=' .&lt;BR /&gt;$response-&amp;gt;transaction_id;&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;$redirect_url .= '?response_code='.$response-&amp;gt;response_code .&lt;BR /&gt;'&amp;amp;response_reason_text=' . $response-&amp;gt;response_reason_text;&lt;BR /&gt;}&lt;BR /&gt;echo AuthorizeNetDPM::getRelayResponseSnippet($redirect_url);&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;echo "Error. Check your MD5 Setting.";&lt;BR /&gt;};?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;order_receipt.php&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?php&lt;BR /&gt;if ($_GET['response_code'] == 1)&lt;BR /&gt;{&lt;BR /&gt;echo "Thank you for your purchase! Transaction id:"&lt;BR /&gt;.htmlentities($_GET['transaction_id']);}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;echo "Errors occured."&lt;BR /&gt;.htmlentities($_GET['response_reason_text']);&lt;BR /&gt;}?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2012 20:10:45 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/transaction-approved-but-still-says-error-DPM-PHP/m-p/22161#M12014</guid>
      <dc:creator>adampage09</dc:creator>
      <dc:date>2012-01-25T20:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: transaction approved but still says error. DPM/ PHP</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/transaction-approved-but-still-says-error-DPM-PHP/m-p/22171#M12019</link>
      <description>&lt;P&gt;Did you setup the relay response url in your merchant account? And I think it need the absolute URL not relative URL&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2012 22:19:34 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/transaction-approved-but-still-says-error-DPM-PHP/m-p/22171#M12019</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2012-01-25T22:19:34Z</dc:date>
    </item>
  </channel>
</rss>

