changes added for payment with pending status