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

implement payment logic #12

Open
espruyt opened this issue Dec 8, 2015 · 0 comments
Open

implement payment logic #12

espruyt opened this issue Dec 8, 2015 · 0 comments

Comments

@espruyt
Copy link
Contributor

espruyt commented Dec 8, 2015

Now comes the most complex part (I think), the payment logic to be used is the following:

  • a % of the amount goes to an e-mail address. the webmaster can designate both % and e-mail address in the admin environment.
  • the remaining % will be allocated as follows:
    - if task has url -> mobbr checks url if url has mobbr support (mobbr finds a script with a payment distribution key e.g. as on github, stackoverflow) -> the payment logic of that url is used (NB: for the remaining %, so applied to the amount minus the % taken by the webmaster/admin)
    - else there should be a form field asking the payer to enter the username or e-mail of the recipient(s) and behind that a box with a percentage (total of all recipients' shares should be 100%, if not use relative shares)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant