Add product stock deduction and order email sending in IPN; when customer returns back to the store, check if the IPN order processing has occurred to avoid the order being processed a second time.
Payments Standard: when the customer returns back to the store and a comment has been entered, save it to the order as normal if the IPN is delayed, or as an added order status entry if the order has already been processed through the IPN.