AppStore purchase keeps failing?

There can be a problem with the AppStore servers. Please try later again or try to reboot your devices, log out and log in back into the AppStore. Then try to purchase again. 

Also, please make sure your Apple ID has a valid payment method and is allowed to make purchases. You can open your Apple ID system preferences to verify everything is ok and check in the AppStore app, if your payment method is valid.