cancel
Showing results for 
Search instead for 
Did you mean: 

My one time transaction(not recurring) not processed on authorize.net

Hello,

 

I am testing my electronic check intigration of my site using authorize.net for one time transaction (not recurring) I am posting following values :

 

x_Cust_ID=11888&x_Invoice_Num=301959&x_Email=test@xyz.info&x_Country=Australia&x_Zip=02120&x_State=New South Wales&x_City=Sydney&x_Address=22 Goodlands Ave &x_Last_Name=Whitfield&x_First_Name=%28Elisabeth%29+Marika&x_Version=3.0&x_ADC_URL=FALSE&x_Amount=395.00&x_Method=ECHECK&x_Test_Request=FALSE&x_Type=AUTH_CAPTURE&x_ADC_Delim_Data=TRUE&x_tran_key=6G5L627ex7LrU5JW&x_Login=5f87pjPM973Q&x_bank_aba_code=122400724&x_bank_acct_num=0123456789012&x_bank_acct_type=CHECKING&x_bank_acct_name=test&x_bank_name=Test Bank

 

And I got following responce : 

 

Array ( [0] => 2 [1] => 1 [2] => 2 [3] => This transaction has been declined. [4] => [5] => P [6] => 2167234587 [7] => 301960 [8] => [9] => 395.00 [10] => ECHECK [11] => auth_capture [12] => 11888 [13] => (Elisabeth) Marika [14] => Whitfield [15] => [16] => 22 Goodlands Ave [17] => Sydney [18] => New South Wales [19] => 02120 [20] => Australia [21] => [22] => [23] => test@xyz.info [24] => [25] => [26] => [27] => [28] => [29] => [30] => [31] => [32] => [33] => [34] => [35] => [36] => [37] => AE2F71035117522FBB16C0B2446B6D10 ) Array ( [message] => This transaction has been declined. [result] => )

vikaskhairnar
Member
2 REPLIES 2

Is that bank account information real? Or fake? Are you using a live account? Or a development account?

 

That is a declined response which means your integration is working properly since it is connecting to the API and getting a vaid (i.e. not an error message) response. This means the transaction information is either invalid or there funds in the account are not sufficient to make that payment.


-------------------------------------------------------------------------------------------------------------------------------------------
John Conde :: Certified Authorize.Net Developer (Brainyminds) :: Official Authorize.Net Blogger

NEW! Handling Authorize.Net's Webhooks with PHP

Integrate Every Authorize.Net JSON API with One PHP Class (Sample code included)

Tutorials for integrating Authorize.Net with PHP: AIM, ARB, CIM, Silent Post
All About Authorize.Net's Silent Post
stymiee
Expert
Expert

Error code 2.1.2 indicates a general failure, which probably means you're running this on the sandbox server and the sandbox server is down (this happens a fair amount).