How can I buy Sagrada Família last-minute tickets when they are sold out on the official website? If you are in a bind and making plans as you go along your trip, you can go directly to Sagrada Família and purchase a ticket using one of the QR codes located around the basilica.