As other have mentioned you do not need a visa to buy a ticket no matter the routing. I do this all the time for my wife while we are waiting for visas to be process for her. Half the time the agents dont even check to see if she has a visa when we check in which is risky for them but you should be fine.
It is interesting the way it prices out and even more interesting how you guys find these things!