Permalink
Browse files

remove fees from example and bump version

  • Loading branch information...
1 parent d8bed40 commit b8e1bd6ed81939323d7a6e62067cfb5159d1f748 Balanced Marshall committed Sep 27, 2012
Showing with 1 addition and 8 deletions.
  1. +1 −1 balanced/__init__.py
  2. +0 −7 examples/examples.py
@@ -1,4 +1,4 @@
-__version__ = '0.8.20'
+__version__ = '0.8.21'
from collections import defaultdict
import contextlib
@@ -57,8 +57,6 @@
print "hold some amount of funds on the buyer, lets say 15$"
the_hold = buyer.hold(1500)
-print "the hold has a fee of {} cents".format(the_hold.fee)
-
print "ok, no more holds! lets just capture it (for the full amount)"
debit = the_hold.capture()
@@ -72,11 +70,6 @@
print "cool. now let me refund the full amount"
refund = debit.refund() # the full amount!
-print "notice how Balanced refunds you your fees? refund fees: {}".format(
- refund.fee)
-if refund.fee + debit.fee:
- raise Exception("Woah, fees are incorrect")
-
print ("ok, we have a merchant that's signing up, let's create an account for "
"them first, lets create their bank account.")

0 comments on commit b8e1bd6

Please sign in to comment.