Mallee Boy Posted August 31, 2012 Share Posted August 31, 2012 (edited) Page does not redirect after Paypal Payment Paypal Module 3.0.9 in PS 1.4.9 Payment is processed at Paypal site but gives the following error message when I try to return to store. "The page isn't redirecting properly... Firefox has detected that the server is redirecting the request for this address in a way that will never complete. This problem can sometimes be caused by disabling or refusing to accept cookies." As a result, the order does not show up in the back end and the front end still shows cart with product. No PS emails are sent out - only a Paypal email which confirms payment was made. Edited August 31, 2012 by David @ gfe. (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted August 31, 2012 Share Posted August 31, 2012 (edited) Same issue, i get a redirect loop. here is the page paypal is trying to redirect http://localhost/prestashop149/modules/paypal/integral_evolution/submit.php?id_cart=3&id_module=69&id_order=0&key=ea98362e73ea4be21080012e4b50f4c4 I'm using the sandbox Is there something wrong with the order id'? It should be 3, not 0 Edited August 31, 2012 by Nemo1 (see edit history) Link to comment Share on other sites More sharing options...
AL-DEV Posted February 12, 2013 Share Posted February 12, 2013 Anyone? Link to comment Share on other sites More sharing options...
AL-DEV Posted February 12, 2013 Share Posted February 12, 2013 I've the same problem. Prestashop 1.4.8.2 with PayPal 3.4.4 I've configured the module to use PayPal PRO in test mode (sandbox) I've the 5 steps checkout, when arrive at the last page I can see the iframe of PayPal showing the credit card form. I enter the card info and the transaction is recorded by paypal but is not possible to conclude the order on my site. I've payed but in the shop is not recordeda and the order isn't created. The process seems to loop calling submit.php (also the id_order is set = 0 ) and from firebug I see the message "302 Moved Temporarily".. Is also called the confirm.php that receive 200 OK. After running a bit the page report that is not possible to redirect that page in the right way and die. Does anyone has this problem? Any suggestions to try to debug this? I'm going crazy Thanks Ale 1 Link to comment Share on other sites More sharing options...
devein Posted November 11, 2013 Share Posted November 11, 2013 (edited) I think there is a problem with the currencies for Paypal. WORKAROUND: \modules\paypal\payment\submit.php // comment out line in bold: if ($cart->id_currency != $ppPayment->getCurrency((int)$cart->id_currency)->id) { $cart->id_currency = (int)($ppPayment->getCurrency((int)$cart->id_currency)->id); $cookie->id_currency = (int)($cart->id_currency); $cart->update(); // Tools::redirect('modules/'.$ppPayment->name.'/payment/submit.php'); } result: 1. no more redirect loop 2. prestashop switches back to "native" currency on the confirm page 3. paypal presents the invoice with "native" currency. 4. all prices seem to be correct in 2. and 3. real fix would be to understand WHY it has problem, and to fix it. any real developers around here? Edited November 11, 2013 by devein (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now