createPayment($input['bill_trans_ref_no']); } else { throw new Exception($input['message'] . ': ' . $input['invalid_fields']); } } }