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
01-20-2012 09:16 AM
Is correct, relay response work the same way for all API that support it.
01-20-2012 11:07 AM
Some of the DPM mechanics duplicate SIM mechanics and therefore call functions from that class.
01-20-2012 09:51 PM