DexSnake Posted May 12, 2016 Share Posted May 12, 2016 After the payment is confirmed on PayPal, I want to redirect back to the order confirmation page. As of now, it is redirecting to the order summary page where the order does not show up util after I refresh the page. I'm not sure what URL to put in the Return URL section in paypal. Link to comment Share on other sites More sharing options...
bellini13 Posted May 13, 2016 Share Posted May 13, 2016 I'm not sure what URL to put in the Return URL section in paypal. You don't. The module tells Paypal where to send the customer after they are returned to your store. Setting an IPN URL in your browser will not have any affect. The problem you are having, is that Paypal is trying to redirect the customer to your order confirmation page, but that happens before the IPN is received by the module. This means the module has failed to create an order (because it does not know payment was complete). So Prestashop cannot show an order confirmation, and instead shows you the order summary page. Refreshing the page works, because the IPN has finally arrived and the order was created. When you refresh the page, you then see the order, but that is coincidence. Unfortunately it is a bad design, and you would have to refactor how the module works with Paypal to fix this issue Link to comment Share on other sites More sharing options...
bedandw Posted July 13, 2016 Share Posted July 13, 2016 Hi Bellini- Can you please help advice what to do in this case? I have a similar issue where it goes to order history instead of order confirmation page hence does not fire or load any of the FB, Google scripts. Please see this post- https://www.prestashop.com/forums/topic/542461-paypal-usa-order-confirmation-page-skipped-goes-to-order-history/?p=2365659 Link to comment Share on other sites More sharing options...
gertzen Posted August 5, 2016 Share Posted August 5, 2016 Hello, it's almost the same for me. Using a standard webbrowser (no mobile view) the payment sequence is executed perfectly: click PayPal checkout button overlayed redirection to PayPal confirmation of payment PayPal approval redirection to <domain>/prestashop/de/module/paypal/submit?key=<key>&id_module=76&id_cart=<cart_id>&id_order=<order_id> an order confirmation is being shown However, this is not working for mobile views. Here the sequence sems to be wrong: click PayPal checkout button overlayed redirection to PayPal confirmation of payment in the background redirection to <domain>/prestashop/de/module/paypal/submit?key=<key>&id_module=76&id_cart=<cart_id>&id_order=<order_id> PayPal approval still visible -> when closing the prestashop-page does not show any content a reload of the page does not lead to any content How can the sequence fo rmobile views be corrected? The problem is that customrs tend to checkout twice (or even more) as they do not get any confirmation (except of a delayed e-mail) 1 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