we've a custom gateway installed - realex.
The GV is not working with it. it just comes back with the error

Invalid Gift Certificate Redemption Code

it works fine with cheque/money order, where should I be looking to fix this!?