I've set up the Paypal module using the brilliant instructions here, everything seems to be working well except one fairly major thing:

When the user is redirected to Paypal to log in and pay for the order they end up at the Paypal confirmation page for the order. If I check the orders at this stage the order is nowhere to be seen. It is only when the user clicks the link to return to my store (which there's a good chance they won't) that the order is added with a status of pending. I've checked the logs and the IPN messages are there.

I can only assume this is some sort of bug because there is barely any settings etc.

Any help would be greatly appreciated!

Comments

msmithcti’s picture

I've discovered the reason only the pending orders were being shown is because of a filter on the view! Now I can see the order statuses as the user goes through the checkout process if the users doesn't come back to the site after payment the order status stays at "Checkout: Payment".

abaier’s picture

Hey!

I would also love to know, if there's a solution for this problem. By now I created a note on the payment page that points out that it's important to follow the "back to shop" link to complete the order. For this reason I also had to deactivate the automatic redirect to paypal...

Would be smarter and saver, if the order status would be set to pending immediately after successfully clicking the "pay now" button on paypal.

abaier’s picture

Another problem with this case is, that the rules fire only after "completing the order process" ... so if a user paid successfully but didn't redirect back to the shop, no user account was created, no order notification emails were sent, the order status remains "checkout:complete", nore is the stock level decreased.

I really have to find a quick solution for this. Could anybody please help me setting up rules to fix this?

I thought about checking the order for existing payment methods (remote id etc.) or the order balance (if "0") ...

Thank you in advance!

msmithcti’s picture

Status: Active » Closed (duplicate)

Should have replied to this earlier - there is a duplicate issue here. I've got this working using the patch in comment #9 which for me moves the order to pending even if the user doesn't return to the site.