01-14-2013 12:18 PM
I'm using AIM in C#. THis is my method that send request to Authorize.NET API:
var oForm = new FormCollection(); oForm.Add("x_card_num", CardNumber); oForm.Add("x_exp_date", ExpFull); oForm.Add("x_card_code", Cvc); oForm.Add("x_first_name", FirstName); oForm.Add("x_last_name", LastName);
oForm.Add("x_zip", Zip); oForm.Add("x_country", "USA"); oForm.Add("x_amount", "0.01M"); oForm.Add("x_type", "AUTH_ONLY"); var oRequest = new AuthorizationRequest(oForm); //step 2 - create the gateway, sending in your credentials var oGate = new Gateway(ApiLogin, TransactionKey, isTestAccount); //step 3 - send request var response = oGate.Send(oRequest);
I need AVS to verificate via ZIP code ONLY, so I don't require it on buyer for hence no info sent to Authorize.NET.
And I need the CCV to verificate via CVC.
WHen I submit transaction it gets approved, but this is what I get in Transaction details page.
|Address Verification Status:||AVS Not Applicable (P)|
|Card Code Status:||Not Applicable|
|Customer Billing Information|
From DEBUG mode I know for sure that all parameters in Controller method are present and not null. BUt for some reason they are not passed correctly to authorize.net. I don't know how that is possible: the credit card number is passed correctly.
Solved! Go to Solution.
01-14-2013 12:54 PM
Are you running on production? or test server?
On production server, you won't get a response if it is in test mode.
On test server, use the follow to test