The problem is I don't know how long I will stay. when I decide to return, I planned on buying the return ticket while in Doha via the internet. Is this going to be a problem and how do I get around it?

Thanks!