You can void a transaction the day it was made online if payment has not settled. A void will change the original transaction's status. It will not show up as a successful transaction.
Find transaction by narrowing down data (date, donor last name, etc)
A "Void" box will appear in the first column (if you don't see it the time has past and you'll need to refund)
Select the box