Guest Posted October 5, 2006 Posted October 5, 2006 have just installed the protx form module, everything is ok unitl you click on the final proceed button which should redirect you to the checout_process.php page, but doesnt it redirects you to the home page. I have also amended the filenames.php file to include the redirect protx as suggested by webby007 but this still doesnt work. if i put the full extension of the site it redirects to something like https://www.mysite.com/https://mysite.com/c...out_process.php and if i just use the checkout_process.php it redirects to the homepage and no order appears in the admin side of oscommerce any help would be appreciated thanks Quote
Web3d Posted November 28, 2006 Posted November 28, 2006 have just installed the protx form module, everything is ok unitl you click on the final proceed button which should redirect you to the checout_process.php page, but doesnt it redirects you to the home page. I have also amended the filenames.php file to include the redirect protx as suggested by webby007 but this still doesnt work. if i put the full extension of the site it redirects to something like https://www.mysite.com/https://mysite.com/c...out_process.php and if i just use the checkout_process.php it redirects to the homepage and no order appears in the admin side of oscommerce any help would be appreciated thanks Hiya ctn, Seem to be having the same problem as yourself, also tried the work around and recieved the same result. Ive been browsing the forums trying to find a possible solution im guessing its somewhere in the success url which im sending to protx. Im currently using the test server and the payments are appearing on the protx admin too. Any help would be appreciated or if you happen to have stumbled across an answer yourself that would be cool! Thanks John Quote
cloud8 Posted December 5, 2006 Posted December 5, 2006 (edited) . Edited December 5, 2006 by cloud8 Quote
cloud8 Posted December 5, 2006 Posted December 5, 2006 Yep: me too.. url showing twice... everything else seems perfect. trying to get help from Protx also.. nothing sorted yet i am hosting with 1and1, would this be the same in your case? Cheers K Quote
Web3d Posted December 5, 2006 Posted December 5, 2006 Hi there, Yeah the URL comes up twice with me aswell if I make the changes webby suggest. I contacted protx regarding the problem and they just say to make sure that the URL is being decoded properly, 'it just looks for spaces in the crypt string and replaces them with +'s which helps the full string decode properly' Im pretty sure the piece of code they are talking about is included in the latest contribution function before_process() { global $HTTP_POST_VARS, $crypt; $process_button_string = str_replace(" ", "+", $process_button_string); $Decoded = $this->SimpleXor(base64_decode(str_replace (" ", "+", $crypt)),MODULE_PAYMENT_PROTX_FORM_PASSWORD); $values = $this->getToken($Decoded); $Status = $values['Status']; $StatusDetail = $values['StatusDetail']; if ($Status != 'OK') { tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, tep_session_name() . '=' . $HTTP_POST_VARS[tep_session_name()] . '&error_message=' . urlencode($StatusDetail), 'SSL', false, false)); } } Is this the part of the code they are talking about? Cheers John Quote
Web3d Posted December 5, 2006 Posted December 5, 2006 Oh my hosting is with fasthosts btw so dont think its a hosting problem Quote
cloud8 Posted December 7, 2006 Posted December 7, 2006 On it tonight... will try PROTX agian also.. tried the suggestions but still redirects will post progress K Quote
Web3d Posted December 11, 2006 Posted December 11, 2006 On it tonight... will try PROTX agian also..tried the suggestions but still redirects will post progress K Have any luck with protx? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.