add sanity check to AndroidPayment