Hi @Shannonbol
We warmly welcome you to the Friendly King Community's Candy Crush Saga forum.🤗
If your game is not fully connected to the server then you may have this problem. Show me a screenshot of the error message you received when purchasing.
You can check App update > Log out game > Restart device > Open game & Log in.

Welcome to the Candy Crush Saga Community
Do you have a question or need help with your game? Ask the Community.