Return True if associate_customer_card runs ok
This commit is contained in:
parent
82ad9ac337
commit
23e7edf7c2
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ class StripeUtils(object):
|
||||||
if set_as_default:
|
if set_as_default:
|
||||||
customer.default_source = card.id
|
customer.default_source = card.id
|
||||||
customer.save()
|
customer.save()
|
||||||
|
return True
|
||||||
|
|
||||||
@handleStripeError
|
@handleStripeError
|
||||||
def dissociate_customer_card(self, stripe_customer_id, card_id):
|
def dissociate_customer_card(self, stripe_customer_id, card_id):
|
||||||
|
|
Loading…
Reference in a new issue