cancel
Showing results for 
Search instead for 
Did you mean: 

Error Message

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?

Hello0
Contributor
1 REPLY 1

Are you using live account credentials? Or developer account credentials? Have you verified your credentials are correct?


-------------------------------------------------------------------------------------------------------------------------------------------
John Conde :: Certified Authorize.Net Developer (Brainyminds) :: Official Authorize.Net Blogger

NEW! Handling Authorize.Net's Webhooks with PHP

Integrate Every Authorize.Net JSON API with One PHP Class (Sample code included)

Tutorials for integrating Authorize.Net with PHP: AIM, ARB, CIM, Silent Post
All About Authorize.Net's Silent Post
stymiee
Expert
Expert