bountysource / core

Bountysource is the funding platform for open-source software.
https://www.bountysource.com/
MIT License
628 stars 187 forks source link

Automatically collect e-signed Tax forms upon cash out request [$1000] #1078

Open rappo opened 7 years ago

rappo commented 7 years ago

For any year-to-date cash out total of $600 or more, we need to collect a short tax form (w-8,w-9).

Current process:

What should happen:

1. If Y-t-D is >=600 USD, block cash out request attempts

  1. If user is not flagged as "tax form complete" they will be required to fill out a form before they can request a cash out. This is for all users, not just >$600.
  2. prompt user to select the appropriate form and fill it out
  3. Eliminate the need for PDFFiller completely -- Is there an open project we can use that will give us valid form completion & e-signing?
  4. upon e-sign, flag user as "Tax form complete".
  5. user can now submit a cashout request
  6. pdfs should be stored in a safe but accessible location for verification
catesq commented 7 years ago

I've made some progress on item #3 and started writing a small commandline tool to fill in pdf forms.

It's based on mupdf, so far it fills in some fields on the fw9 tax form with test data and generates a new pdf, looks fine.

I haven't got mupdf's digital signing api working yet though. Luckily but the 0.9.5 release of podofo has a podofosign tool which works, not my ideal solution but a nice backup...

Aiming to have the form filling tool working in a week or so.

catesq commented 7 years ago

The form filling tool for item 3 is here - https://github.com/mitnuh/fill-pdf.

mupdf's digital signing api worked fine btw - the problem was trying to edit + sign a pdf doc in one step - the correct process was load, edit, save, reload, sign, resave.

Edit: Ok, will try again.

rappo commented 7 years ago

Bounty has been increased even more... having this task completed would be amazing! https://www.bountysource.com/issues/42707387-automatically-collect-e-signed-tax-forms-upon-cash-out-request

rappo commented 7 years ago

@mitnuh bumped this bounty twice this week. Hopefully that's enough motivation to have you take another stab at it :).

catesq commented 7 years ago

I'm on it.

About step 2 - did you want a UI similar to pdf-filler - ie overlaying the input fields onto an image of the pdf so it kinda looks and feels like you're filling in a copy of the form?

edit: I'm assuming yes as it looks neat and has all the instructions on how to fill in the form.

nhodges commented 7 years ago

Why not use DocuSign?

rappo commented 7 years ago

@mitnuh - I would like it to appear as if you're editing a live document, yes.

@nhodges - I'm open to using a service and just hooking into their API, but I'm also interested in reducing our costs and external dependencies. Delicate game to play, but nothing set in stone so if someone has a good solution speak up.

catesq commented 7 years ago

Took longer than I expected but should be able to make a PR tomorrow. Edit: I was too optimistic, almost there.