The state tax I paid says accepted and was taken out of my return. Why does the state say they never received payment? If so, where's the rest of my return?

I owed state $52, I selected to pay from my yearly tax return. My tax forms say that the state accepted. Now I get a notice from the state stating that they never received anything.