cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with test Api AIM(TESTMODE)

I have kind of a difference situation and I'm not sure which type of account I need to use.  

 

I'm adding a plugin to Microsoft crm that will send the transaction.  This runs on a local server that uses SSL protocol.  I think that I should be using AIM but am not sure.  I am currenlty trying to test with the sample code that is provided for card present transactions.  However, I keep receiving "3: (TESTMODE) This transaction cannot be accepted".  What am I doing wrong?

haraden79
Member
1 ACCEPTED SOLUTION

Accepted Solutions

From

http://developer.authorize.net/guides/AIM/wwhelp/wwhimpl/common/html/wwhelp.htm#href=4_TransResponse...

 

3
103
This transaction cannot be accepted.
A valid fingerprint, Transaction Key, or password is required for this transaction.

 

From http://developer.authorize.net/tools/responsereasoncode/

Response Reason Code: 103

Response Reason Text: A valid fingerprint, or transaction key is required for this transaction.

Integration Team Suggestions: This error is generated when your account is in "Password-Required Mode" and you are not sending a valid password, transaction key or hash fingerprint with your transaction request, which is a recommended security measure.

Please consider the following details when encountering this error:

  • If you are using SIM, make sure you are using a valid transaction key to generate and send a fingerprint hash to us along with your transaction request.
  • If you are using AIM please make sure you are posting the gateway defined field x_tran_key.
  • If you are using a third party shopping cart which uses AIM and are receiving this error, please check with your shopping cart provider to ask if your application can pass the transaction key to the Authorize.Net payment gateway.
  • If you are using an older Authorize.Net account and you submit a password instead of a transaction key with your transactions, you may experience this error. Please ensure that you are posting a transaction key instead.
  • Some shopping carts, for backwards compatibility with older connection methods, may provide the means to submit both a transaction key and a password. You should not use both the transaction key and the password simultaneously; doing so may also result in this error. We recommend using the transaction key instead of the password whenever possible, as transaction keys tend to be more secure than passwords. In such a situation, please leave the password field blank

    If the shopping cart has a field for the password but no field for the transaction key, please put the transaction key in the password field. Our system will recognize and validate the transaction key properly.

    Also, while most shopping cart software will have a field for the transaction key, password, or both, some software may not. Please contact your shopping cart provider for details on how to upgrade to a more secure version of your shopping cart software. In an emergency, you may submit transactions without a transaction key, by disabling Password-Required Mode in your account. You may find details in our Password-Required Mode knowledge base document.

View solution in original post

8 REPLIES 8
RaynorC1emen7
Expert

Thanks for the response.  Am I missing something?  Here is my code.  Like I mentioned, I'm using the quick start AIM card present code.  Seems simple enough.

 

var req= new CardPresentAuthorizationRequest(10.00M, "4007000000027", "10", "2015");

//step 2 - create the gateway, sending in your credentials
var gate = new CardPresentGateway("ID", "Key", true);

//step 3 - make some money
var response = (CardPresentResponse)gate.Send(req);

The response should have a "Response Reason Code". What it is?

ResponseCode = 3

Message = (TESTMODE) This transaction cannot be accepted.

AVSResponse = AVS not applicable for this transaction

CardCodeResponse = No result

 

can you do a response.ToString() go get all the values.

I did a response.ToString() and it returned blank.  So I printed the rawresponse codes:

 

RawResponse 0: 1.0
RawResponse 1: 3
RawResponse 2: 103
RawResponse 3: (TESTMODE) This transaction cannot be accepted.
RawResponse 4: 000000
RawResponse 5: P
RawResponse 6:
RawResponse 7: 0
RawResponse 8: 866F41CE48D359D8C808C23E3249BBE1

From

http://developer.authorize.net/guides/AIM/wwhelp/wwhimpl/common/html/wwhelp.htm#href=4_TransResponse...

 

3
103
This transaction cannot be accepted.
A valid fingerprint, Transaction Key, or password is required for this transaction.

 

From http://developer.authorize.net/tools/responsereasoncode/

Response Reason Code: 103

Response Reason Text: A valid fingerprint, or transaction key is required for this transaction.

Integration Team Suggestions: This error is generated when your account is in "Password-Required Mode" and you are not sending a valid password, transaction key or hash fingerprint with your transaction request, which is a recommended security measure.

Please consider the following details when encountering this error:

  • If you are using SIM, make sure you are using a valid transaction key to generate and send a fingerprint hash to us along with your transaction request.
  • If you are using AIM please make sure you are posting the gateway defined field x_tran_key.
  • If you are using a third party shopping cart which uses AIM and are receiving this error, please check with your shopping cart provider to ask if your application can pass the transaction key to the Authorize.Net payment gateway.
  • If you are using an older Authorize.Net account and you submit a password instead of a transaction key with your transactions, you may experience this error. Please ensure that you are posting a transaction key instead.
  • Some shopping carts, for backwards compatibility with older connection methods, may provide the means to submit both a transaction key and a password. You should not use both the transaction key and the password simultaneously; doing so may also result in this error. We recommend using the transaction key instead of the password whenever possible, as transaction keys tend to be more secure than passwords. In such a situation, please leave the password field blank

    If the shopping cart has a field for the password but no field for the transaction key, please put the transaction key in the password field. Our system will recognize and validate the transaction key properly.

    Also, while most shopping cart software will have a field for the transaction key, password, or both, some software may not. Please contact your shopping cart provider for details on how to upgrade to a more secure version of your shopping cart software. In an emergency, you may submit transactions without a transaction key, by disabling Password-Required Mode in your account. You may find details in our Password-Required Mode knowledge base document.

Thanks for the responses.  I ended up resetting the transaction key which got it working.  I probably was entering in wrong.