The reason the app didn't work when you downloaded it is because of Apple's own policies.
I am pretty sure that the rules about IAP make it very clear you have to charge the same price on and off the app store.
https://www.theverge.com/2015/7/8/8913105/spotify-apple-app-...