Apple will pay up to $400 million to compensate consumers for illegal price-fixing conspiracy for electronic books, officials said Wednesday. The settlement would reimburse consumers in 33 states whose authorities sought damages for Apples price-fixing, according to a statement from New Yorks attorney general. If Apples federal conviction is overturned, no money will be paid. Apple will also make payments to the 33 states of $20 million to cover costs, fees, and civil penalties if its conviction is upheld.