intandem Posted September 23, 2016 Share Posted September 23, 2016 Hi! On a new client installation we have had a few orders recently where the customer goes through the Paypal payment process during checkout but when it reconnects back to Prestashop, they see a message telling them that there was an error and that the payment wasn't processed. They then usually go back and go through the checkout process again. However, the first payment did in fact go through and an order also gets created in the PS back office. So the customer ends up with 2 orders and 2 payments. We cannot find anything that the problem orders have in common (different countries, different products etc.). We only noticed in the logs that for the problem order, there are 2 POST events and no GET events afterwards, whereas for normal orders there is 1 POST event and then 4 associated GET events (I've x-ed out shop url and payment IDs): Problem order: 174.195.144.154 - - [21/Sep/2016:17:43:05 -0500] "POST /shop/modules/paypal/express_checkout/payment.php HTTP/1.1" 200 7787 "http://xxxxxxx.xxx/shop/?fc=module&module=paypal&controller=confirm&get_confirmation=1" "Mozilla/5.0 (Linux; Android 6.0.1; SM-G900V Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.89 Mobile Safari/537.36" 174.195.144.154 - - [21/Sep/2016:17:42:59 -0500] "POST /shop/modules/paypal/express_checkout/payment.php HTTP/1.1" 302 20 "http://xxxxxxx.xxx/shop/?fc=module&module=paypal&controller=confirm&get_confirmation=1" "Mozilla/5.0 (Linux; Android 6.0.1; SM-G900V Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.89 Mobile Safari/537.36" Normal order: 174.195.144.154 - - [21/Sep/2016:17:43:51 -0500] "POST /shop/modules/paypal/express_checkout/payment.php HTTP/1.1" 302 20 "http://xxxxxxx.xxx/shop/quick-order" "Mozilla/5.0 (Linux; Android 6.0.1; SM-G900V Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.89 Mobile Safari/537.36" 174.195.144.154 - - [21/Sep/2016:17:44:23 -0500] "GET /shop/modules/paypal/express_checkout/payment.php?token=EC-6MA45446B0348202U&PayerID=xxxxxxxxxxxxxx HTTP/1.1" 302 20 "-" "Mozilla/5.0 (Linux; Android 6.0.1; SM-G900V Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.89 Mobile Safari/537.36" 174.195.144.154 - - [21/Sep/2016:17:44:24 -0500] "GET /shop/order?step=1 HTTP/1.1" 302 20 "-" "Mozilla/5.0 (Linux; Android 6.0.1; SM-G900V Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.89 Mobile Safari/537.36" 174.195.144.154 - - [21/Sep/2016:17:44:25 -0500] "GET /shop/quick-order HTTP/1.1" 200 9414 "-" "Mozilla/5.0 (Linux; Android 6.0.1; SM-G900V Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.89 Mobile Safari/537.36" 174.195.144.154 - - [21/Sep/2016:17:44:43 -0500] "GET /shop/?fc=module&module=paypal&controller=confirm&get_confirmation=1 HTTP/1.1" 200 6894 "http://xxxxxxx.xxx/shop/quick-order" "Mozilla/5.0 (Linux; Android 6.0.1; SM-G900V Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.89 Mobile Safari/537.36" Does anybody have any ideas? Thanks!! 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