Hi. Thank you for your question and reaching out. I’d be more than happy to help you with your query
According to this article https://support.microsoft.com/en-us/account-billing/troubleshoot-buying-issues-with-microsoft-store-ca603a8a-7123-3fa1-d1e8-4043f75f2f31#:~:text=If%20you're%20having%20trouble,account%20is%20not%20temporarily%20suspended.
If you're having trouble buying something from Microsoft Store, here are some steps to try: Check your credit card is up to date on the Payment options page. Check you don't have any subscription payments overdue on the Services page. Check your account is not temporarily suspended.
You can also try buying it through the website using a browser or incognito. You can also try clearing our browser cache to see if it will work.
If the reply was helpful, please don’t forget to upvote or accept as answer, thank you.