Skip to content

Commit

Permalink
Merge pull request #332 from xfxf/master
Browse files Browse the repository at this point in the history
Fix stripe.Customer.create() bug (quantity) in 3.4.0
  • Loading branch information
paltman authored Apr 19, 2017
2 parents 03a462c + 8a65bdb commit ad267f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pinax/stripe/actions/customers.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def can_charge(customer):
return False


def create(user, card=None, plan=settings.PINAX_STRIPE_DEFAULT_PLAN, charge_immediately=True, quantity=1):
def create(user, card=None, plan=settings.PINAX_STRIPE_DEFAULT_PLAN, charge_immediately=True, quantity=None):
"""
Creates a Stripe customer.
Expand Down

0 comments on commit ad267f5

Please sign in to comment.