I using form post url as 'https://test.authorize.net/gateway/transact.dll'.
I have given proper response url of my site, for x_relay_url.
Now after 'Submit' it is redirecting to the url which I gave, but the url value is not changing,
It remains as 'https://test.authorize.net/gateway/transact.dll'. Please help...
07-21-2014 08:26 AM
07-21-2014 08:34 AM
Thank you for your reply,
It is mentioned that, if we need to redirect to our server means, should use javascript.
Which means we are forcing to open our server using javascript, also if 'script is disabled in browser' then it fails, so any other possibilities for this?
This would be more helpful for me.
Thanks,
Bala.
07-22-2014 12:12 AM
a google search give me this
<noscript>
<meta http-equiv="refresh" content="0; url=http://mydomain/no_js.html">
</noscript>
07-22-2014 04:08 AM
Thank you Raynor,
I tried with your code, it didn't worked for me.
07-22-2014 04:34 AM - edited 07-22-2014 04:35 AM
It work fine for me, what error are you getting? can you check the http traffic?
07-22-2014 05:40 AM
The url is not getting changed in the address bar, remains the same https://test.authorize.net/gateway/transact.dll.
Okay sure ill check.
07-22-2014 07:59 AM
look at the page source from the broswer, see if the code it there.
07-22-2014 08:07 AM
Thank you for your reply,
As you said I handled it in javascript. I forced it to land in our server.
This code worked for me.
mstrURL is variable, which holding our server path.
Response.Write("<script type=""text/javascript"">window.location.href = location.protocol + ""//"&mstrURL&""";</script>")
07-25-2014 06:30 AM