cancel
Showing results for 
Search instead for 
Did you mean: 

Is this an error in the DPM docs?

Hi,

I've bee learning about the DPM and I saw this in the documentation...

Note   Unless you have explicitly set MD5-Hash in the merchant interface (using Account 
> Settings > Security Settings > MD5-Hash), leave this as an empty string.
<?php require_once 'anet_php_sdk/AuthorizeNet.php'; // The SDK
$redirect_url = "http://YOUR_DOMAIN .com/receipt_page.php"; // 
Where the user 
will end up.
$api_login_id = 'YOUR_API_LOGIN_ID';
$md5_setting = ""; // Your MD5 Setting
$response = new AuthorizeNetSIM($api_login_id, $md5_setting);
if ($response->isAuthorizeNet())
{
if ($response->approved)
   {
       // Do your processing here.
       $redirect_url .= '?response_code=1&transaction_id=' .
       $response->transaction_id;
   }
   else
   {.............more code

 Please note the $response =    LINE

it states... new AuthorizeNetSIM($api_login_id, $md5_setting);

specifying "SIM"

Shouldnt this be DPM?

 

I don't really know,. as I am just getting up to speed,

Thanks

MrFitz

mr_fitz
Member
2 REPLIES 2

Is correct, relay response work the same way for all API that support it.

RaynorC1emen7
Expert

Some of the DPM mechanics duplicate SIM mechanics and therefore call functions from that class.