You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 17, 2018. It is now read-only.
Irio Musskopf edited this page Mar 6, 2014
·
2 revisions
For now, we don't have an admin interface to generate a Payout. Yes, you must do it acessing the server.
Just keep in your mind: a payout won't work if the project's owner doesn't have a bank account registered in the system!
To do a payout, follow this process:
Access you server. Using Heroku, this will do the work:
$ heroku run console -a <you_heroku_app_name>
Inside the server, complete the payout. You just need to know which project you're dealing with.
# Define the projectproject=Project.find(some_id_that_you_should_now)customer=Neighborly::Balanced::Customer.new(project.user,{})payout=Neighborly::Balanced::Bankaccount::Payout.new(customer,project)payout.complete!