This is an intermittent issue, so not sure what is making it happen - but here goes.
We're using PayPal Hosted Solution - iFrame. When some customers pay with their credit card (not express option on the iFrame) sometimes the order will get stuck at Pending Payment status. Even though the payment is Complete (and also payment_status in returned ipn array is Completed).
Also in the Comments History, the correct Processing events are recorded.
An invoice is automatically created for the customer as well.
Sometimes a work around is to create a new Invoice and Capture Offline. But sometimes no option is given to create a new Invoice (no Invoice button).
Any help would be really appreciated!!! No idea where to even start!