Remove unwanted code/comments
This commit is contained in:
parent
ec13a71866
commit
1e67bef4f5
4 changed files with 7 additions and 23 deletions
|
|
@ -111,7 +111,6 @@ class StripeUtils(object):
|
|||
|
||||
@handleStripeError
|
||||
def update_customer_card(self, customer_id, token):
|
||||
# TODO replace token with payment intent
|
||||
customer = stripe.Customer.retrieve(customer_id)
|
||||
current_card_token = customer.default_source
|
||||
customer.sources.retrieve(current_card_token).delete()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue