I'm having the same problem and I'm going insane!
AuthorizeNet has like 3 different sources of information where the generation of erros is suppose to be done differently.
This is what I have.
- I'm running Rail and using ActiveMerchant gem to comunicate with AuthorizeNetCIM.
Here is an example of a successful transaction that its supposed to be declined.
========= ORDER INFORMATION =========
Invoice : 112
Description : Testing
Amount : 2.00 (USD)
Payment Method : Visa
Type : Authorization and Capture
============== RESULTS ==============
Response : This transaction has been approved.
Authorization Code : 000000
Transaction ID : 0
Address Verification : AVS Not Applicable
==== CUSTOMER BILLING INFORMATION ===
Customer ID : 270
First Name : Marjory
Last Name : Ratke
Company :
Address : 62753 Gillian Expressway
City : Novastad
State/Province : AZ
Zip/Postal Code : 46282
Country : United States
Phone :
Fax :
======
This has every possible attribute to trigger the decline and is not doing it.
The test mode is OFF.
I'm hitting the test uri: https://apitest.authorize.net/xml/v1/request.api
I'm sending the test flag for every response.