Paying into state

I have to pay $818 to the state tax, and i filed it on may 9th, it is still currently pending and i have the money, they just need to take it from my bank account, so my question is, if it is still pending after the 17th will i be in trouble, even tho i did the work b4 the due date?