Add a check on payment status