To resolve the issue on your side, please check if the country in the device settings corresponds to the Apple ID country and change the appropriate settings if it doesn't. This should help.
Cannot make a purchase on my iOS device
Last Updated: 277d