I am coding to the AuthorizeNet DPM API.
The issue is I have is I am trying to put security into the DPM relay response script on my server for security reasons to do a checksum on the hash and other information coming back from AuthorizeNet to verify the response is legit. My program does a response.redirect to an error page if it is not legit.
I'm not sure how, but the AuthorizeNet is simply "ignoring" my redirect from the server to the error page and only showing the page as if it is authentic when it has clearly failed several tests. Any ideas on "how" it is doing this and how to make it stop?
Ok, the problem appears to be that I can't show the master page and that is what is causing the issue. The masterpage has to be a virtual path, ie.
It can't find the virtual path. I have also tried just Site.Master.
I looked at that solution. Not following you.
I see that I have to hardcode a lot of the url's for the images. However, a master page cannot be hardcoded, the directory has to be virtual.
My page works fine....just the images and style sheet don't show up.
ahh...so you are saying using the AuthorizeNet relay to provide the server response at the low level, then redirect once the user sees it, to immediately go to a working graphics page. I'll try it...that sounds like the solution.
Well it works 90%.
When it redirects, authorizenet throws this text into my page for some reason. I am able to test with and without authorizeNet using a flag, so this is 100% an authorizenet artifact.
Ok, looking deeper, it seems to that text relates to this html, the little TM...messes it up.
<sup><font face="Arial" size="6">™</font></sup>