abunsen/Paython — Issue #12: There is support for API Login ID and Transaction Key? authorize.net
Author: diegueus9
Created: 2011-10-20 16:45:49+00:00
State: open

I'm testing paython with this snippet of code:

http://dpaste.com/637988/

When I use my user login and password I got this error:

{'alt_trans_id': '',
'amount': '',
'approved': False,
'auth_code': '000000',
'avs_response': 'P',
'cvv_response': '',
'response_code': '3',
'response_reason_code': '123',
'response_text': '(TESTMODE) This account has not been given the permission(s) required for this request.',
'response_time': '1.11',
'trans_id': '0',
'trans_type': 'auth_capture'}

And when I use my API_ID and TRANSACTION KEY I got this:

{'alt_trans_id': '',
'amount': '',
'approved': False,
'auth_code': '000000',
'avs_response': 'P',
'cvv_response': '',
'response_code': '3',
'response_reason_code': '87',
'response_text': '(TESTMODE) Transactions of this market type cannot be processed on this system.',
'response_time': '0.94',
'trans_id': '0',
'trans_type': 'auth_only'}

Apparently, when the response code is 123:

```Response Reason Code: 123

Response Reason Text: This account has not been given the permissions required for this request.

Integration Team Suggestions: This error indicates that a user's personal Login ID is being used to connect a website or billing software to the payment gateway. Personal login IDs may not be used to connect websites to Authorize.Net, for security reasons. For example, if an Account Owner, Account Administrator, Transaction Manager, or Account Analyst login ID is used for website or software implementation, this error will occur.

To resolve this issue, the API Login ID and Transaction Key will need to be generated and added to your software's configuration, so that the website or software may connect to Authorize.Net properly. The API Login ID can be obtained by following these steps:

Log into the Merchant Interface at https://account.authorize.net/
Click Settings in the main left side menu
Click API Login and Transaction Key
If an API login ID has already been generated, it will be visible here. If an API Login ID needs to be generated, you will want to enter the answer to your Secret Question in order to see the API Login ID.
For more information regarding Login IDs, Passwords, API Login IDs, Transaction Keys, and User Administration, please visit our online video tutorials at http://www.authorize.net/videos/.

Other Suggestions: The transaction request must include the API login ID associated with the payment gateway account.```

And when the error is 87:

```Response Reason Code: 87

Response Reason Text: Transactions of this market type cannot be processed on this system.

Integration Team Suggestions: This can happen for four reasons:
1) You are attempting to process a type of transaction that your account is not designed for. An example would be using a card swipe machine to process transactions on an e-commerce or mail order/telephone order (MOTO) account.
2) You are passing an incorrect value to x_market_type. If you are using a Retail account you want to pass a "2". The Implementation Guide for Card Present transactions can be found at http://www.authorize.net/support/CP_guide.pdf.
3) Your merchant service provider may be incorrectly setup for this account.
4) The product type (SIC code) is incorrect for this account.

Other Suggestions: The server is not configured to process the product type derived from the market type of this transaction.```

So, in this point I'm not pretty sure if the error is a configuration one or maybe the way paython makes the calls to API of authorize.net