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

Commit

Permalink
Merge pull request #1282 from gittip/drop-payout-fee
Browse files Browse the repository at this point in the history
Drop payout fee
  • Loading branch information
wyze committed Aug 2, 2013
2 parents 08a15c8 + ba73fc7 commit ab8b8c0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion gittip/billing/payday.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
FEE_CHARGE = ( Decimal("0.30") # $0.30
, Decimal("0.029") # 2.9%
)
FEE_CREDIT = Decimal("0.25")
FEE_CREDIT = Decimal("0.00") # Balanced doesn't actually charge us for this,
# because we were in the door early enough.

MINIMUM_CHARGE = Decimal("9.41")
MINIMUM_CREDIT = Decimal("10.00")
Expand Down
6 changes: 5 additions & 1 deletion tests/test_billing_payday.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from aspen.utils import typecheck, utcnow
from gittip import billing
from gittip.billing.payday import FEE_CHARGE, Payday
from gittip.billing.payday import FEE_CHARGE, Payday, skim_credit
from gittip.models import Payday as PaydayModel
from gittip.participant import Participant
from gittip.testing import Harness
Expand Down Expand Up @@ -627,6 +627,10 @@ def test_debit_participant(self):
self.payday.debit_participant(cur, subject.username, amount)
conn.commit()

def test_skim_credit(self):
actual = skim_credit(Decimal('10.00'))
assert actual == (Decimal('10.00'), Decimal('0.00')), actual

def test_credit_participant(self):
amount = Decimal('1.00')
subject = self.make_participant('test_credit_participant', pending=0,
Expand Down
2 changes: 1 addition & 1 deletion www/about/index.html.spt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ title = "About"
href="https://www.gittip.com/bank-account.html">connect a bank
account</a> to have funds <a
href="http://blog.gittip.com/post/30116848405/with-payouts-gittip-is-minimally-viable">deposited
weekly</a> (less a $0.25 fee). It takes one business day for deposits
weekly</a>. It takes one business day for deposits
to clear, so generally they will <b>clear on Friday</b>. We're
working on automated payouts <a
href="https://github.com/gittip/www.gittip.com/issues/126">outside the
Expand Down

0 comments on commit ab8b8c0

Please sign in to comment.