What happens to my IRS payment if my e-file was rejected and I decide to file by mail?

I'm getting rejected because of a supposed incorrect AGI. However, I know it is correct. Instead of going through the hassle, I've decided to just file by mail.

 

Here's my question: I did provide my credit card payment in my initial e-file submittal. Will the payment be cancelled or will it go through the IRS since I'm changing to file by mail.