Mexico to pay for wall on border