I have tried booking at different hostelhostels using Hostel WorldHostelWorld and Booking.com and I could only be able to make a reservation using my credit card, but not pay for the whole stay. I haven't found that option. Apparently you can only pay when you check in.
Does it depend on the webpage or the Hostel?. Has anyone here been able to pay for the complete stay before travelling?