Hi there,
This sounds like CCAvenue have updated their API to change the order of the fields sent, and the previous freelancer did not handle this properly. This should be simple to fix in an hour or so and I'm available to take a look at it now for you.
PM me if you'd like to chat further.
Regards,
Andrew