If you are unable to make a purchase in Gems of War on Steam try turning on Steam overly.
- Go to Steam -> Settings
- Click the In-Game tab
- Check "Enable Steam Overlay while in-game"
- Go to Library
- Right-click on Gems of War and select Properties
- Under the General tab also make sure "Enable Steam Overlay while in-game" is checked