<?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: working with DPM - can't get response vars returned in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/working-with-DPM-can-t-get-response-vars-returned/m-p/34579#M19021</link>
    <description>&lt;P&gt;Thanks - yes I agree - but what?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is from the .pdf on pg 76.... I just added email code where it says to and i send me &amp;nbsp;an email but ONLY =&lt;/P&gt;&lt;P&gt;$response-&amp;gt;transaction_id SHOWS! --- &amp;nbsp;the OTHER fields are blank....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems like the =&amp;nbsp;&lt;SPAN&gt;require_once 'anet_php_sdk/AuthorizeNet.php might be messing this up or duplicated in the sdk and manual code or something? so where are the other fields?&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;-------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "&lt;A target="_blank" href="https://community.developer.cybersource.com/"&gt;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&amp;gt;&lt;/A&gt;&lt;BR /&gt;&amp;lt;html xmlns="&lt;A target="_blank" href="https://community.developer.cybersource.com/"&gt;http://www.w3.org/1999/xhtml"&amp;gt;&lt;/A&gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&lt;BR /&gt;&amp;lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;Untitled Document&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;/head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Create relay_response.php.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;lt;?php require_once 'anet_php_sdk/AuthorizeNet.php'; // The SDK $redirect_url = "&lt;A target="_blank" href="http://YOUR_DOMAIN.com/receipt_page.php&amp;quot;;"&gt;http://YOUR_DOMAIN.com/receipt_page.php";&lt;/A&gt; // Where the user will end up.&lt;BR /&gt;$api_login_id = 'YOUR_API_LOGIN_ID';&lt;BR /&gt;$md5_setting = ""; // Your MD5 Setting&lt;BR /&gt;$response = new AuthorizeNetSIM($api_login_id, $md5_setting); if ($response-&amp;gt;isAuthorizeNet())&lt;BR /&gt;{&lt;BR /&gt;if ($response-&amp;gt;approved)&lt;BR /&gt;{&lt;BR /&gt;// Do your processing here.&lt;BR /&gt;&lt;BR /&gt;// I ADDED email code to send me following fields in body&lt;BR /&gt;&lt;BR /&gt;$seestuff = 'test'.$response-&amp;gt;transaction_id.'-'.$response-&amp;gt;x_amount.'-'.$response-&amp;gt;x_first_name.'-'.$response-&amp;gt;x_last_name.'-'.$response-&amp;gt;x_address.'-'.$response-&amp;gt;x_response_code.'-'.$response-&amp;gt;x_response_reason_code.'-'.$response-&amp;gt;x_response_reason_text;&lt;BR /&gt;&lt;BR /&gt;// email code here&lt;BR /&gt;echo $seestuff; // in body&lt;BR /&gt;// code here&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;} else {&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;// Send the Javascript back to AuthorizeNet, which will redirect user back to your site.&lt;BR /&gt;echo AuthorizeNetDPM::getRelayResponseSnippet($redirect_url);&lt;BR /&gt;} else&lt;/P&gt;&lt;P&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jun 2013 21:30:45 GMT</pubDate>
    <dc:creator>coolcat</dc:creator>
    <dc:date>2013-06-10T21:30:45Z</dc:date>
    <item>
      <title>working with DPM - can't get response vars returned</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/working-with-DPM-can-t-get-response-vars-returned/m-p/34553#M18995</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working from pg 75 of DirectPost_guide.pdf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;says to create 3 pages...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;checkout_form.php&lt;/P&gt;&lt;P&gt;relay_response.php&lt;/P&gt;&lt;P&gt;order_receipt.php&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;all working - except the only response&amp;nbsp;var that seem to come back if approved&amp;nbsp; = $response-&amp;gt;transaction_id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to see many more like $response-&amp;gt;x_amount - &lt;SPAN&gt;$response-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;x_description - &lt;SPAN&gt;$response-&amp;gt;&lt;/SPAN&gt;x_type &lt;/SPAN&gt;and others&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to add to my database on both relay_response.php and order_receipt.php but the only one = $response-&amp;gt;transaction_id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BTW: ALSO in settings of test account I turned on -&amp;nbsp;&lt;A target="_blank" href="https://sandbox.authorize.net/UI/themes/sandbox/Settings/ReportingAPISettings.aspx"&gt;Transaction Details API - but that didn't help... &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q: How do I see / capture all the other VARS?&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2013 04:44:22 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/working-with-DPM-can-t-get-response-vars-returned/m-p/34553#M18995</guid>
      <dc:creator>coolcat</dc:creator>
      <dc:date>2013-06-10T04:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: working with DPM - can't get response vars returned</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/working-with-DPM-can-t-get-response-vars-returned/m-p/34569#M19011</link>
      <description>&lt;P&gt;if &lt;STRONG&gt;&lt;A rel="nofollow" href="https://developer.authorize.net/tools/paramdump/index.php" target="_blank"&gt;https://developer.authorize.net/tools/paramdump/index.php &lt;/A&gt;&lt;/STRONG&gt;works then, something on the relay_Response is not working.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2013 16:04:15 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/working-with-DPM-can-t-get-response-vars-returned/m-p/34569#M19011</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2013-06-10T16:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: working with DPM - can't get response vars returned</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/working-with-DPM-can-t-get-response-vars-returned/m-p/34579#M19021</link>
      <description>&lt;P&gt;Thanks - yes I agree - but what?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is from the .pdf on pg 76.... I just added email code where it says to and i send me &amp;nbsp;an email but ONLY =&lt;/P&gt;&lt;P&gt;$response-&amp;gt;transaction_id SHOWS! --- &amp;nbsp;the OTHER fields are blank....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems like the =&amp;nbsp;&lt;SPAN&gt;require_once 'anet_php_sdk/AuthorizeNet.php might be messing this up or duplicated in the sdk and manual code or something? so where are the other fields?&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;-------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "&lt;A target="_blank" href="https://community.developer.cybersource.com/"&gt;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&amp;gt;&lt;/A&gt;&lt;BR /&gt;&amp;lt;html xmlns="&lt;A target="_blank" href="https://community.developer.cybersource.com/"&gt;http://www.w3.org/1999/xhtml"&amp;gt;&lt;/A&gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&lt;BR /&gt;&amp;lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;Untitled Document&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;/head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Create relay_response.php.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;lt;?php require_once 'anet_php_sdk/AuthorizeNet.php'; // The SDK $redirect_url = "&lt;A target="_blank" href="http://YOUR_DOMAIN.com/receipt_page.php&amp;quot;;"&gt;http://YOUR_DOMAIN.com/receipt_page.php";&lt;/A&gt; // Where the user will end up.&lt;BR /&gt;$api_login_id = 'YOUR_API_LOGIN_ID';&lt;BR /&gt;$md5_setting = ""; // Your MD5 Setting&lt;BR /&gt;$response = new AuthorizeNetSIM($api_login_id, $md5_setting); if ($response-&amp;gt;isAuthorizeNet())&lt;BR /&gt;{&lt;BR /&gt;if ($response-&amp;gt;approved)&lt;BR /&gt;{&lt;BR /&gt;// Do your processing here.&lt;BR /&gt;&lt;BR /&gt;// I ADDED email code to send me following fields in body&lt;BR /&gt;&lt;BR /&gt;$seestuff = 'test'.$response-&amp;gt;transaction_id.'-'.$response-&amp;gt;x_amount.'-'.$response-&amp;gt;x_first_name.'-'.$response-&amp;gt;x_last_name.'-'.$response-&amp;gt;x_address.'-'.$response-&amp;gt;x_response_code.'-'.$response-&amp;gt;x_response_reason_code.'-'.$response-&amp;gt;x_response_reason_text;&lt;BR /&gt;&lt;BR /&gt;// email code here&lt;BR /&gt;echo $seestuff; // in body&lt;BR /&gt;// code here&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;} else {&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;// Send the Javascript back to AuthorizeNet, which will redirect user back to your site.&lt;BR /&gt;echo AuthorizeNetDPM::getRelayResponseSnippet($redirect_url);&lt;BR /&gt;} else&lt;/P&gt;&lt;P&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2013 21:30:45 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/working-with-DPM-can-t-get-response-vars-returned/m-p/34579#M19021</guid>
      <dc:creator>coolcat</dc:creator>
      <dc:date>2013-06-10T21:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: working with DPM - can't get response vars returned</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/working-with-DPM-can-t-get-response-vars-returned/m-p/34582#M19024</link>
      <description>&lt;P&gt;so you are getting&lt;/P&gt;&lt;P&gt;test&lt;FONT color="#FF0000"&gt;123456789&lt;/FONT&gt;----------&amp;nbsp; (red text is the transactionID)?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2013 22:33:43 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/working-with-DPM-can-t-get-response-vars-returned/m-p/34582#M19024</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2013-06-10T22:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: working with DPM - can't get response vars returned</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/working-with-DPM-can-t-get-response-vars-returned/m-p/34625#M19065</link>
      <description>&lt;P&gt;Might help to log the entire response to a file. Try logging print_r($response, true) and then see what comes out.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2013 03:17:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/working-with-DPM-can-t-get-response-vars-returned/m-p/34625#M19065</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2013-06-13T03:17:29Z</dc:date>
    </item>
  </channel>
</rss>

