Re: Authorize.net test

From: Date: Fri, 26 Mar 2010 02:04:00 +0000
Subject: Re: Authorize.net test
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-303491@lists.php.net to get a copy of this message
On Thu, Mar 25, 2010 at 08:45:19PM -0400, David McGlone wrote: > Does anyone have any experience with authorize.net? > > I have a test account with authorize.net and I have written a script to use > the checkout of authorize.net but I keep getting this error: > > 3|2|13|The merchant login ID or password is invalid or the account is > inactive.||P|0|||45.99||auth_capture|||||||||||||||||||||||||| > C6625114C7C848C859D5D0C446C1F7CE|||||||||||||||||||||||||||||| > > and this error: > > 3|2|13|The merchant login ID or password is invalid or the account is > inactive.||P|0|||0.00||auth_capture|||||||||||||||||||||||||| > F68A9C87C1E1472521704EF38C21F647|||||||||||||||||||||||||||||| > > I have checked and rechecked my login ID and password with no results. > > The code is spread across 3 files config.php, authorize_net_request.php, and > test_authorize_net.php and I have posted these files to pastebin because I > didn't know if I could post the code here. > > Could someone give these files a look over and see what I've done wrong? > > The pastebin URL is: > http://pastebin.com/5xacghDR Last time I encountered an error like this with an e-gateway, the problem was that, despite what I thought, the account was actually inactive. It wasn't authorize.net, but I'm betting that your gateway ID and password are fine, just like mine were. I had to call them to find out the account was, for some reason, deemed "inactive". Paul -- Paul M. Foster

« previous php.general (#303491) next »