Auto email re credit card payment failed sent erroneously

Just had a customer pay successfully via Paypal, (not credit card), and she was automatically sent the email regarding “your payment via credit card has failed etc”.

Is this a bug? I’ve not had this issue before and have been taking payments via Paypal and Credit Card for years. Not a happy customer - she was mortified to receive that email, as she should have been.

Annette