Gift certificates being used up on failed card transactions

Hi all, is anyone getting this issue?

  • Put a product in the cart (say $100 worth)
  • Apply a gift certificate to the cart with value less than the value of the product
  • Now proceed through checkout, and put in an invalid credit card number that causes the gateway to return an error.
  • Now the gift certificate has been used and is worth $0, but the user hasn't paid for the product yet. The cart now shows the amount to be paid as $100, with a $0 gift certificate applied.

    Is this a known issue with the Gift Certificate Add-on?