Skip to content

Commit

Permalink
new source value
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Mar 21, 2017
1 parent 805c2da commit 53793e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/budy/models/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -879,11 +879,11 @@ def _pay_stripe(self, payment_data):
use_secure &= secure_supported in ("required", "optional")

if use_secure:
secure = api.create_3d_secure(
secure = api.create_source(
int(self.payable * 100),
self.currency,
return_url,
token_id
card = token_id
)
redirect = secure.get("redirect_url", None)

Expand Down

0 comments on commit 53793e4

Please sign in to comment.