moved all getdetails logic from setup to billingavailable