new way to check if in payment page