It appears you had edited the authorize.net server behavior with eCart 6 and the code was out of sync. It started referring to the settings in your webassist/ecart/checkout/credentials/gateways.php file, but that file wasn't added to the confirm.php page.
I fixed it by adding a require_once to the confirm.php page to include the gateway settings definition.
(please see the private message)