What version of ECF are you using?Can you debug the project?
Do other payment gateways generate errors?