added check_payment_status