Rebellion1986, on 20 November 2009, 22:30, said:
I have resolved this issue on my website please read you may have the same problem.
AH! I finally resolved the problem! SEO URL's is incompatible with this module. I checked the URL before I checked out and I saw that the redirected URL was different to the outgoing URL. SEO URLs must modify the URL all the time, this is why most of my customers were redirected to another page! If anyone is presented with the 5006 error and they have SEO URLs Installed, you may want to uninstall the module and test again.
This means bad for my SEO as some of my pages have google page rank 1, so I will have to try and see if the new update of SEO URLs is compatible with this module, thanks anyway for the help!
In any version of Seo Urls the W3C option will cause issues with redirects .. in USU5 this is handled by modifying the tep_redirect() function BUT if a script .. like a payment module uses it's own header redirect or return url then the W3c option should be reversed.
To use one of the original posters examples ..
tep_href_link(FILENAME_CHECKOUT_PROCESS, 'check=PROCESS&key=' . md5($sage_pay_server_securitykey) . '&VPSTxId=' . $HTTP_POST_VARS['VPSTxId'] . '&' . tep_session_name() . '=' . tep_session_id(), 'SSL', false);
Would be changed to ..
str_replace( '&', '&', tep_href_link(FILENAME_CHECKOUT_PROCESS, 'check=PROCESS&key=' . md5($sage_pay_server_securitykey) . '&VPSTxId=' . $HTTP_POST_VARS['VPSTxId'] . '&' . tep_session_name() . '=' . tep_session_id(), 'SSL', false) );
Note: I am not saying that this is the one to change just showing how to change it.
A simpler example is ..
str_replace( '&', '&', tep_href_link( FILENAME_WHATEVER, 'something=xxx&else=yyy' ) );
Alternatively just turn off the W3C option.
Edited by FWR Media, 21 November 2009, 10:06.