The government has defended a messy transition period that is set to cost millions of dollars as it covers the bill for businesses' card surcharges on tax payments.