If the bank rejects the transaction, they will send it back to the IRS. At that time, the IRS will send you a paper check instead. The entire process can take about six to eight weeks.
Here is some additional information that may also be helpful.
https://ttlc.intuit.com/replies/3302459