Refactor checkout for setting the shipping address.