- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am quite new at this have been struggling with something for a few hours now.
I am using the sample code for AIM perl with all the standard settings shown below.
( except for the login and trans key which I replaced)
I keep getting the 87 error no matter how I change the settings in my account.
Any help would be appreciated!!!!
my $post_values=
{# the API Login ID and Transaction Key must be replaced with valid values
"x_login"=> "xxxxxxxxxx",
"x_tran_key"=> "xxxxxxxxxxxxxxxxxxxx",
"x_version"=> "3.1","x_delim_data"=> "TRUE",
"x_delim_char"=> "|","x_relay_response"=> "FALSE",
"x_type"=> "AUTH_CAPTURE",
"x_method"=> "CC",
"x_card_num"=> "4111111111111111",
"x_exp_date"=> "0115",
"x_amount"=> "19.99",
"x_description"=> "Sample Transaction",
"x_first_name"=> "John",
"x_last_name"=> "Doe",
"x_address"=> "1234 Street",
"x_state"=> "WA",
"x_zip"=> "98004"
Solved! Go to Solution.
08-17-2011 09:25 PM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
http://developer.authorize.net/tools/responsereasoncode/
Show 87 as Transactions of this market type cannot be processed on this system.
Usually mean you create a wrong test account. You need a Card Not Present account for testing AIM, unless you do need the the Card Present account for http://developer.authorize.net/api/cardpresent/.
08-18-2011 06:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No idea on that one. Error 87 doesn't seem to have a useful description, so i have no idea what kind of error you're getting.
08-18-2011 06:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
http://developer.authorize.net/tools/responsereasoncode/
Show 87 as Transactions of this market type cannot be processed on this system.
Usually mean you create a wrong test account. You need a Card Not Present account for testing AIM, unless you do need the the Card Present account for http://developer.authorize.net/api/cardpresent/.
08-18-2011 06:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That's odd. Why did the text list of error codes not include this information? But that's good to know.
Incidently, any particular reason why you (the OP) are using Perl for AIM charges? I do love Perl - it was my first web programming language way back 15 years ago - but it is not in my opinion a really optimal language for creating web sites with, due to the complexity of installing modules for things that generally come with PHP.
I'm assuming of course that you're not storing credit card data and then using AIM to charge them automatically, or something odd like that. I do use Perl a lot for automated processes.
08-18-2011 07:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you .... Wow...How many hours did I spend on that one.
Thanks!!!
08-18-2011 09:28 AM