The cardinal commerce and 3d secure implementation is custom coding that is not standard in eCart.
The code that Ray had to edit is not standard eCart code, it was custom coding that he created trough Premiere support for site.
as for the var_dump, it is not intended to be left in place, but as a temporary troubleshooting tool.