Hi All,
I am new with Authorize.Net. I followed everything from https://developer.authorize.net/integration/fifteenminutes/csharp,
I set up the test account.
I created a ASP.NET MVC application in VS 2008.
After following the Step:5, when I build the code,the environment is returning the following errors
Error 1: The type or namespace name 'HttpPostAttribute' could not be found (are you missing a using directive or an assembly refe\rence?)
Error 2: The type or namespace name 'HttpPost' could not be found (are you missing a using directive or an assembly reference?)
I performed teh following steps to manuver this error
1) The AuthorizeNet.dll reference is added in the MVC web application project
2) The AuthorizeNet.Helpers.dll reference is added in the MVC web application project
3) In HomeController class file, I try to add a reference as
using AuthorizeNet;
using AuthorizeNet.Helpers
but nothing worked :-(
Please let me know how to resolve this issue. Any help will be appreciated
03-21-2011 06:14 AM
For knowledge, I am setting up teh test Account with DIRECT POST METHOD.
03-21-2011 06:16 AM
Step 5 of the FifteenMinutes should be ammended to replace this:
[HttpPost]
With this:
[AcceptVerbs(HttpVerbs.Post)]
This
is a change from one version of ASP.NET MVC to another - I think from MVC 1 to MVC 2
(2 favors the shorter syntax).
Thank you,
Elaine
03-30-2011 08:53 AM
Hi I would like to ask if where did you get the AuthorizeNet.Helpers.dll? I downloaded the SDK for Csharp but I can't find it.
10-15-2012 04:52 AM
anet_dotnet_sdk-1.7.1.zip\AuthorizeNet.Helpers\bin\Release
10-15-2012 05:40 AM