It's not what I'm talking about. My customers don't receive e-mail about "out of stock". It will be the best to show example. My back office looks like this:
Order number, amount, method of payment, order status
111, 100€, PayU, payment accepted
222, 100€, PayPal, out of stock
333, 100€, PayPal, out of stock
444, 100€, PayU, payment accepted
I want it too look like this because everything is already paid:
111, 100€, PayU, payment accepted
222, 100€, PayPal, payment accepted
333, 100€, PayPal, payment accepted
444, 100€, PayU, payment accepted
When I check an order paid with PayPal I see in history:
10:50 out of stock (last status)
10:50 payment accepted
When I check an order paid with PayU I see in history:
10:50 payment accepted (last status)
10:50 out of stock
10:49 waiting for payment
I want to force PayPal module to set last status "payment accepted" instead of "out of stock" :-)