For the benefit of others, I turned off my firewall, (little snitch), turned off my vpn, (Witopia) then restarted.
Then logged into icloud when it popped up unbidden, which requires the apple ID and password.
Then went to the app store, logged in again, then found affinity photo, and was able to buy it and download it after giving my apple ID and password yet again!
Now I just have to learn how to stitch photos with it, I'll have to find a tutorial somewhere.