The problem is with the Google Play Store, Google customer service recommends the following instructions:
"Try the following steps to fix the problem:
Step 1: Switch the device off and on again
Press and hold the power button until you see the Power Off option.
Choose Turn Off > OK.
When the smartphone is turned off, press and hold the power button again to turn the device back on.
Step 2: Clear the cache in the Google Play Store app and in the download manager and delete the relevant data
Go to "Settings" > "Device" > "Apps" > "All".
Scroll down and tap Google Play Store> Clear Data> OK.
Tap on "Clear cache".
Follow the same steps for Download Manager.
Note : If you have changed the password protection options or the content filtering options, you must reset them to the default settings under "Settings".
Step 3: Uninstall and reinstall Play Store app updates
Go to Settings > Device > Apps > All > Google Play Store.
Tap “Uninstall updates”. This will restore the Google Play Store app to the original version that was preinstalled on your device.
Start the Google Play Store app and then go to the home screen on your phone or tablet.
Wait 5 to 10 minutes for the app to update automatically.
Restart the Google Play Store app.
To check your version of Google Play, go to Settings > Device > Apps > All again. Then scroll down and tap “Google Play Store”. The version number is shown under the name of the app.
Step 4: check payment information
Sign in to payments.google.com.
Click on "Settings".
Under "Payment profile" click the "Edit" icon next to "Name and address".
Update your address and click "Save".
Step 5: Use other payment method for the purchase
Open the Play Store app.
Tap the item you want to buy.
On the permissions screen, tap Accept.
On the screen where you can buy the item, tap the arrow at the top right of the price.
Tap “Payment Methods”.
Choose a different payment method.
Tap on "Buy".
Step 6: Clear the Google Play services cache and delete the corresponding data on the device
Navigate to "Settings".
Scroll down to the "Device" section and tap on "Apps".
Swipe up to "All".
Scroll down and tap the Google Play Services app.
Tap "Clear cache" and "Clear data".
WARNING : If you clear the Google Play services cache and clear the data, it can affect other apps and settings on your device. After completing these steps, you should check whether the other apps on your device still have the desired settings.
Step 7: Remove Google account and add it back to the device
Note: Removing your Google account from your device may delete some local settings and locally stored in-app content if this data has not been synchronized with Google servers or otherwise.
However, no apps are lost as your purchases are linked to your Google account. All data stored on Google servers, such as emails in Gmail and your Google contacts, are also retained. Note that you will need to enter your password again when adding your account again. So have this ready.
How to remove your account:
Tap "Menu" > "Settings" > "Accounts".
Tap “Google” and then the name of the account you want to remove.
Tap the three vertical dots in the top right.
Tap "Remove Account".
To add your account back to your device afterwards:
Tap "Menu" > "Settings" > "Accounts".
Tap “Add Account” and select “Google”.
Enter your account information.
Run the test again.
If this still does not solve the problem, we recommend resetting your device to the factory settings. The device is reset to its original delivery state.
Before resetting to factory settings, it is recommended to back up and save all photos, videos, music or other content stored on your device. You can back up your device using Google's online backup services or by connecting your device to a computer via USB.
— Google customer service