If my turbotax e-file was rejected did my tax payment still go through, or should I include a check when I send in my paper tax forms?

I entered bank details when I thought I could e-file, and now I'm guessing those don't go through if the e-file didn't, but I want to be sure.