Skip to content

Commit c3c766d

Browse files
committed
Merge pull request #142 from lukeburden/master
Fixes #140 - issue with the 'capture' argument passable to https://strip...
2 parents fe95883 + 7f7db65 commit c3c766d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: payments/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ def charge(self, amount, currency="usd", description=None,
591591
currency=currency,
592592
customer=self.stripe_id,
593593
description=description,
594-
captured=capture,
594+
capture=capture,
595595
)
596596
obj = self.record_charge(resp["id"])
597597
if send_receipt:

0 commit comments

Comments
 (0)