Astraware Solitaire (version 2.20 and above) is a free download, with the choice of ad-supported free play, or a single in-app purchase to switch off ads permanently.
This is a one-time purchase, and when you've bought it you no longer have to gain tokens to play games (or watch ads before starting a game.) Once you've purchased, the Hearts count at the top right is hidden.
Existing players who previously bought the game outright when it was a paid download should automatically get the upgrade for free. If you purchased the game before September 20th 2017 and it is showing ads for you, please get in touch via this support system and we will be able to help!
If you're reinstalling the game and have previously bought the Upgrade In-App Purchase, you can restore this by using the 'Restore Purchases' button on the Options page of the game (tap the 'Cog' icon from the title screen.)