ucdavis / Sloth

Secure Ledger and online transaction hub
MIT License
3 stars 2 forks source link

Automated CyberSource refunds and reversals #199

Open srkirkland opened 2 years ago

srkirkland commented 2 years ago

From Brian McEligot: I've had an item on our "wishlist" since way back when I was working with John Knoll on Payments and early SLOTH: Automation of refunds. The dream would be that when a user clicks refund in Registration/Payments, the system would have an admin review function (Bill or me would click "OK"), but would then push the refund to CyberSource via API (not sure if this is possible with our API, but this is the dream). Then, SLOTH would see the refund completed in Cybersource, and process the reversal funds distribution just moving money in the opposite direction based on the refund amount.

jSylvestre commented 2 years ago

Hmmm, I wonder if this could be done through sloth, not the other apps. (The actual refund in CyberSource). That way, there would be fewer things that could break. 1) Has the money moved yet? 2) Did the CyberSource transaction clear? 3) Is it too old?