Moving the response writing into the authorize.net gateway charge functions