Upvote:3
Many airlines sell tourist cards when you check in. Normally costs around 20 USD or so and gives you simple paper with 2 identical sides. At immigration they tear one of and keep other one is for you to keep until departure. Call airline and ask if they offer them on aircraft.
I was flying with Cayman Airways. They sold them at check in