03-21-2011 06:14 AM
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
but nothing worked :-(
Please let me know how to resolve this issue. Any help will be appreciated
03-30-2011 08:53 AM
Step 5 of the FifteenMinutes should be ammended to replace this:
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).