E-file rejected. Is return payment also rejected?

My e-file was rejected so I need to try again or mail it in. I filled in payment info to pay tax due with the original e-file.  Does that also get rejected? I don't want to pay twice.