Reply
Member
Posts: 3
Registered: ‎08-17-2011
Accepted Solution

Perl and AIM

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"

 

 

 


Accepted Solutions
Solution
Accepted by topic author serotta1958
‎08-21-2015 01:58 AM
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Perl and AIM

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/.

View solution in original post


All Replies
Posts: 1,609
Topics: 15
Kudos: 201
Solutions: 121
Registered: ‎06-23-2011

Re: Perl and AIM

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.

Solution
Accepted by topic author serotta1958
‎08-21-2015 01:58 AM
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Perl and AIM

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/.

Posts: 1,609
Topics: 15
Kudos: 201
Solutions: 121
Registered: ‎06-23-2011

Re: Perl and AIM

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.

Member
Posts: 3
Registered: ‎08-17-2011

Re: Perl and AIM

Thank you .... Wow...How many hours did I spend on that one.

 

Thanks!!!