Hi.
I have tried to follow the guide lines in setting up a test account in sandbox for authorize.net. However, I am unable to still get an error code out of authorize.net when i use the test zip code: 46205 or anything or cvv code. What am i doing wrong? I used both 4111111111111111 and 4007000000027 (sent to me in an email by authorize.net). Does the amount to be charged matter?
07-20-2013 03:17 PM
For that use 4222222222222 13digit
07-20-2013 03:57 PM
Unfortunately using 46282 as the zip code for response message of "This transaction has been declined" and using 4222222222222 as the credit card number still makes the transaction proceed without being rejected. Its just not being rejected!
07-20-2013 06:54 PM
did you have testmode turn on, on the test account? turn it off.
07-21-2013 03:05 AM
Its in live mode not in test mode. This is what I see on that page:
|
07-21-2013 09:19 PM
can you tell us how are you testing this with CIM?
Create the payment profile with zipcode 46205 or add x_zip to extraOptions?
07-22-2013 04:17 AM
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.
07-30-2013 02:31 PM
if test mode is off, there should be a transaction id.
07-30-2013 04:21 PM
I had the same problem but It turned out that the ActiveMerchant Gem was doing every request sending the x_test flag on if you set the gateway in test mode.
I added an option to hit the test_url but keep the real requests in order to get the generated errors.
https://github.com/Shopify/active_merchant/pull/785
Hope this helps.
07-31-2013 11:42 AM