You are never charged for rejected filings.

When you submit your filing, the court does a pre-authorization on your card for the filing fees. If the court rejects the filing, then they will not settle that pre-authorization and it will eventually fall off your card.

The time the pre-authorization takes to fall off your card ranges from 3 to 10 business days from the date of the clerk’s rejection depending on your banking institution. 

When rejected filings occur and you re-submit your filing, the court does ANOTHER pre-authorization. Once accepted, that is the fee that will be settled.