You can pay and file state and federal taxes through the Taxes page in QuickBooks Online (QBO). You need to have the active QBO and payroll subscription to be able to do the process. If your account is no longer active, I suggest reaching to our Support Team to guide you further on how you can pay or file the taxes.
Or, you can reach out to your state agency or IRS for possible ways to file the taxes.
For additional reference about paying and filing payroll taxes, read this article.
Get back to me if you have any other payroll or QuickBooks questions. I'm always here to help. Have a good day!