3.1 Refunds Can Only Be Processed with an Order ID
Problem
When attempting to refund a credit card in RecTrac 3.1, the following message appears and the user is unable to process the refund:
Refunds can only be processed with an Order ID
What does this mean and how do you get past it?
Solution
Because RecTrac does not store credit card numbers, we need a token on the EPAYINFO record to be able to do a credit card refund. This message means that the EPAYINFO record linked to the transaction you are trying to refund either has been deleted, or that the token is not on the record.
To find whether the epayinfo record is missing, use these queries in dbedit or dbinquiry:
1 find first SACreditCardHistory no-lock where SACreditCardHistory.ID = SAFeeHistory.speciallinkid no-error. if available SACreditCardHistory then message SACreditCardHistory.EPayLink.
2 find first EPayInfo no-lock where EPayInfo.EPayLink = no-error. if available EPayInfo then message 'Record found'.
If the epayinfo record is missing, you cannot restore it. The workaround in this situation was to process a NOVALID Credit Card profile refund for the customer and then manually refund the credit card on the Plug'nPay admin site.