From ea9d1dda4beae31aa83fe120d12e2cff76521bb7 Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Thu, 20 Feb 2014 14:05:58 -0500 Subject: [PATCH] Take out probably misguided check for merchants 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. :-) --- gittip/billing/payday.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gittip/billing/payday.py b/gittip/billing/payday.py index a675afa4c5..3d670115cb 100644 --- a/gittip/billing/payday.py +++ b/gittip/billing/payday.py @@ -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)