Handling error conditions of closed popup or failed payment.