I booked tickets on the RENFE site and I also had trouble at first. It wouldn't let me enter my postal(zip) code so I typed in any old thing and it let me through. Plain sailing (rather railing) after that. :p Had a fantastic journey.