[Pani] Updated pending payments logic