PayPalPlugin icon indicating copy to clipboard operation
PayPalPlugin copied to clipboard

[Feedback] Redirected to the homepage instead of the Thank You page

Open jacquesbh opened this issue 5 years ago • 6 comments

After an order using the Paypal radio button in checkout, not the Yellow PayPal button itself, I arrive on the review step, then I continue. Here, instead of being redirected to the Thank You page with a possibility to end the payment (because I didn't go to PayPal, see #138), I am redirected to the homepage.

The behavior is strange.

jacquesbh avatar Oct 14 '20 09:10 jacquesbh

I would like to specify one thine: the order is correctly created :).

jacquesbh avatar Oct 14 '20 09:10 jacquesbh

Hi @jacquesbh, do you have any more details about this issue? I've checked it a few times, both on my local machine and hosted demo and it works well, I'm redirected to the "pay with PayPal" page :/

Zales0123 avatar Oct 19 '20 10:10 Zales0123

Hey @Zales0123 :)

order

I think you put a debug on this env to debug the redirect, but still.

jacquesbh avatar Oct 19 '20 13:10 jacquesbh

I had this issue a couple of times too but i can't replicate it with a 100% rate. However i have some logging entry of it, if it can help:

127.0.0.1 - - [16/Dec/2020:09:38:18 +0100] "GET /_wdt/37f4f3 HTTP/1.1" 200 40508 "http://aniyeby-store.sfp.test/it/pay-with-paypal/6553" 127.0.0.1 - - [16/Dec/2020:09:39:43 +0100] "POST /it/create-pay-pal-order/_WDYub90Gw HTTP/1.1" 200 53 "http://aniyeby-store.sfp.test/it/pay-with-paypal/6553" 127.0.0.1 - - [16/Dec/2020:09:40:00 +0100] "POST /it/complete-pay-pal-order/_WDYub90Gw HTTP/1.1" 200 121 "http://aniyeby-store.sfp.test/it/pay-with-paypal/6553" 127.0.0.1 - - [16/Dec/2020:09:40:24 +0100] "GET /it/order/thank-you HTTP/1.1" 302 262 "http://aniyeby-store.sfp.test/it/pay-with-paypal/6553" 127.0.0.1 - - [16/Dec/2020:09:40:31 +0100] "GET /assets/theme/assets/theme.min.css.map HTTP/1.1" 200 746552 "-" 127.0.0.1 - - [16/Dec/2020:09:40:31 +0100] "GET /assets/theme/assets/theme.min.js.map HTTP/1.1" 200 1765232 "-" 127.0.0.1 - - [16/Dec/2020:09:40:31 +0100] "GET /assets/shop/js/app.js.map HTTP/1.1" 200 2618603 "-" 127.0.0.1 - - [16/Dec/2020:09:40:31 +0100] "GET /_wdt/ceb02e HTTP/1.1" 404 - "http://aniyeby-store.sfp.test/it/" 127.0.0.1 - - [16/Dec/2020:09:40:26 +0100] "GET /it/ HTTP/1.1" 200 118222 "http://aniyeby-store.sfp.test/it/pay-with-paypal/6553" 127.0.0.1 - - [16/Dec/2020:09:40:35 +0100] "GET /_wdt/ceb02e HTTP/1.1" 200 42929 "http://aniyeby-store.sfp.test/it/"

It seems like there has been a "double request", the first one redirects to the thank you page meanwhile the second one to the homepage. Strange..

LucaGallinari avatar Dec 16 '20 09:12 LucaGallinari

hi @jacquesbh any update?

I have the same issue.

bellu avatar Jun 30 '21 13:06 bellu

Hey @jacquesbh, we've added some improvements to error handling since this issue was created, could you confirm that this problem is still here? We are unable to reproduce this.

SirDomin avatar Oct 27 '21 12:10 SirDomin