I am testing my credit card process to get certified and I am getting this error. Can someone help. Do I need to use the API Login ID when I am doing a direct Post? Thanks in advance for the help.
01-22-2012 09:20 AM
From the sample code:
require_once 'anet_php_sdk/AuthorizeNet.php'; // The SDK $url = "http://YOUR_DOMAIN.com/direct_post.php"; $api_login_id = 'YOUR_API_LOGIN_ID'; $transaction_key = 'YOUR_TRANSACTION_KEY'; $md5_setting = 'YOUR_API_LOGIN_ID'; // Your MD5 Setting $amount = "5.99"; AuthorizeNetDPM::directPostDemo($url, $api_login_id, $transaction_key, $amount, $md5_setting);
01-22-2012 09:51 AM
01-22-2012 10:06 AM
The only code examples for DPM are on one of these two pages:
https://developer.authorize.net/integration/fifteenminutes/#directpost (see buttons to change language in top right)
https://developer.authorize.net/downloads/samplecode/
As you can see, while there are code examples for some of the API's in VB.NET, there isn't one for DPM. Some of the code, specifically the fingerprint, is the same as for SIM, however (DPM layers on top of SIM), so you may be able to adapt some of that.
01-22-2012 10:43 AM - edited 01-22-2012 10:43 AM
01-22-2012 11:27 AM
They will probably just direct you to the integration forum unless there's something actually wrong with your account, which I doubt. Incidently, the error you're getting has to do with the fingerprint, and can be caused by using an expired fingerprint (the time value you're using is not the same time zone as your Authorize.net account), or one of the values that goes into the fingerprint not matching (bad login ID or transaction key) or so on. It would help if you could (a) post your code (use a code box, fourth option from the left in Rich Text mode) and (b) post the error code you're getting (probably 97, 98, or 99, but it helps to know which one).
01-22-2012 07:01 PM