I am trying to test this out using the razor c# method and have coded everything for the DPM as outlined in the quickstart guide.
I am hosting at godaddy on shared server.
The problem: when you view the page the form is not displaying correctly. Seems all the tags are getting stripped out, could this be some url encode security issue?
The code below:
@using (Html.BeginSIMForm("http://firefitnessaz.com/home/sim", 1.94m, "xxxxxxx", "xxxxxxxxxxxxx",true)) { @Html.CheckoutFormInputs(true) @Html.Hidden("fitpackorderid", "2000") <input type="submit" value="Pay" /> }
Any help appreciated.
Thanks!
08-30-2011 11:45 AM
Have same problem :mansad:
09-05-2011 06:44 PM
I'm afraid that I know very little about Razor. However, I do know that one of it's advertised benefits is that it automatically htmlencodes most of the inputs. Because the BeginSIMForm method outputs complete HTML, I could definitely see Razor causing problems by double encoding the data. Unfortunately, I can't recommend any kind of solution for you.
09-06-2011 03:32 PM - edited 09-06-2011 03:35 PM
Please see my response on stackoverflow to correct this problem in MVC 3
12-08-2011 04:06 PM