moved all getdetails logic from setup to billingavailable

#162