Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actually handle chargebacks #59

Closed
6 tasks done
Changaco opened this issue Jan 5, 2016 · 1 comment
Closed
6 tasks done

Actually handle chargebacks #59

Changaco opened this issue Jan 5, 2016 · 1 comment
Assignees
Labels
Payday issues about the weekly “pay day” payments issues about money transfers

Comments

@Changaco
Copy link
Member

Changaco commented Jan 5, 2016

In #42 I implemented money quarantine to discourage fraud, but we need a few more things to actually handle chargebacks should they happen:

  • modify cash_bundles to prevent disputed funds from being withdrawn even when they are past the standard quarantine period
  • archive the information contained in cash_bundles before deleting them, so we can easily identify who withdrew the money from a fraudulent payin
  • implement a function that uses these two improvements to locate and lock cash_bundles when a dispute begins
  • add a "chargeback" transfer context
  • implement a function that executes the chargeback if it is confirmed by the bank, by transferring all the recoverable funds to the LiberapayOrg account, and setting negative balances creating debts when there isn't enough money in the user's wallet
  • modify payday to transfer money to the LiberapayOrg account when the intended recipient of the transfer has a negative balance settle debts
@Changaco Changaco added Payday issues about the weekly “pay day” payments issues about money transfers labels Jan 5, 2016
@Changaco Changaco mentioned this issue Mar 6, 2016
@Changaco Changaco self-assigned this Jul 14, 2017
@Changaco
Copy link
Member Author

We've just received our first chargeback, it's time to implement this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Payday issues about the weekly “pay day” payments issues about money transfers
Development

No branches or pull requests

1 participant