Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Take out probably misguided check for merchants
Browse files Browse the repository at this point in the history
At https://github.com/gittip/www.gittip.com/pull/2036/files#r9757101
@mjallday suggests that we don't need to check that merchants are
underwritten, as that constraint now only applies to those receiving >
$100,000/yr, and we don't have anyone there yet. Moreover, I believe
this condition is backwards, and would result in no-one getting paid!
Without any kind of condition here, I suspect that we'll fill our logs
with NoResultError()s for everyone who is due a payout and has a CC on
file with Balanced but not a bank account. Better that than not doing
any payouts. :-)
  • Loading branch information
chadwhitacre committed Feb 20, 2014
1 parent 28f2fa3 commit ea9d1dd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions gittip/billing/payday.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,10 +626,6 @@ def ach_credit(self, ts_start, participant, tips, total):
return # not in Balanced

customer = balanced.Customer.fetch(balanced_customer_href)
if customer.merchant_status == 'underwritten':
log("%s is not a merchant." % participant.username)
return # not a merchant

customer.bank_accounts.one()\
.credit(amount=cents,
description=participant.username)
Expand Down

0 comments on commit ea9d1dd

Please sign in to comment.