Nobody likes learning about unexpected tax liabilities at the last minute, but paying with cash isn’t your only option.