Credit Card Payment made with Sage Payment Solutions in Sage 300 to Wrong invoice

A credit card payment was entered, posted to the correct customer, but to the wrong invoice.  Is there a way to fix this.  We attempted to reverse the entry, but since it was made with Sage Payment Solutions this was not allowed.