Why isn't this more like "Comment tu as acheté ça sur Internet?"?
Both ways are correct, n'est-ce pas?
How did you order that online - should be accepted, yes?