You do NOT need to have a valid passport in-hand in order to complete the purchase of an international air travel reservation. Even if an airline requires you to add your passport information to complete such a purchase, you can make up a number and then update the reservation with the real details.