- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Relay response
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ07-21-2014 08:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It work fine for me, what error are you getting? can you check the http traffic?
โ07-22-2014 05:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
look at the page source from the broswer, see if the code it there.
โ07-22-2014 08:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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