Is anyone else experiencing duplicate orders using the cybersource payment gateway?

I am on v 1.2.6 and am having a problem where an order seems to be missed. What will happen is someone will place an order, they get sent back to the last confirmation screen with a general error message and never are able to process the order. In the meantime, cybersource charges the card and the next person that comes through places their order which is the same as the other order Number in cybersource but zencart never actually gets the order.

I would be willing to pay anyone willing to rewrite the cybersource gateway script for zencart.