- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
DPM Relay response not redirecting to new page with wordpress
Hello Everyone,
I've been searching the boards for a few days and have not found the answer to my problem. I'm hoping someone can help me out.
I'm having trouble redirecting users back to my relay url using the javascript redirect. I'm using Wordpress with this project.
Here is the weird thing, If i use the main post url the form is on, the redirect works fine. But if I use a new page called "transaction results and redirect to that page, the response gets stuck on https://test.authorize.net/gateway/transact.dll and the page is broken (no css and ugly). The javascript does not redirect at that point. It's weird. Check out the screenshots.
Using the post url with successful redirect back to main post (Not what I want to do, I want to redirect to a different page)
http://awesomescreenshot.com/05a2uvbte3
Broken redirect to new page I would like the response on.
http://awesomescreenshot.com/0a12uvcs3c
Any help to point me in the right direction would be appreciated.
Thanks!
โ05-23-2014 11:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is the page im getting after payment with the url being https://test.authorize.net/gateway/transact.dll
See screenshot
http://awesomescreenshot.com/0a12uvcs3c
It should redirect to www.mywebsite.com/transaction-results but the javascript doesn't fire. No redirect is happening.
โ05-23-2014 06:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So it did get to the relay response page,
it just the page didn't have the javascript code to redirect to
www.mysite.com/transaction-results
that why I ask why can't you put the javascript code and not the wordpress code to redirect
โ05-23-2014 06:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do it did not grab the results page, nor does it redirect to the results page.
This is really frustrating.
โ05-23-2014 06:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Also, I'm using the DPM class and it has this method.
public static function getRelayResponseSnippet($redirect_url){
return "<html><head><script language=\"javascript\">
<!--
window.location=\"{$redirect_url}\";
//-->
</script>
</head><body><noscript><meta http-equiv=\"refresh\" content=\"1;url={$redirect_url}\"></noscript></body></html>";
}
โ05-23-2014 06:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ05-24-2014 07:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm still having the same problem.
It did work for a bit but now the javascript is not redirecting to the redirect url.
โ10-13-2014 10:00 PM
- ยซ Previous
-
- 1
- 2
- Next ยป