When I add this code with all my variables included, I'm still getting this error message:
3,2,13,The merchant login ID or password is invalid or the account is inactive.,,P,0,,,0.19,,auth_capture,,,,,,,,,,,,,,,,,,,,,,,,,,44624AC6946B1090067AE56DF4890439,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
<?php
require_once 'anet_php_sdk/AuthorizeNet.php'; // The SDK
$url = "mywebsite.com/direct_post.php";
$api_login_id = 'mylogin';
$transaction_key = 'mytranskey';
$md5_setting = 'mylogin'; // Your MD5 Setting
$amount = "0.19";
AuthorizeNetDPM::directPostDemo($url, $api_login_id, $transaction_key, $amount, $md5_setting);
?>
Does it have something to do with the directPostDemo bit above?
Are you using live account credentials? Or developer account credentials? Have you verified your credentials are correct?
12-16-2011 12:06 PM - edited 12-16-2011 12:08 PM