Rename id to stripe_api_cus_id

This commit is contained in:
PCoder 2017-10-27 00:41:49 +02:00
parent a6d28bff86
commit 1374eaf1a2
1 changed files with 2 additions and 2 deletions

View File

@ -139,8 +139,8 @@ class StripeUtils(object):
return customer
@handleStripeError
def get_customer(self, id):
customer = stripe.Customer.retrieve(id)
def get_customer(self, stripe_api_cus_id):
customer = stripe.Customer.retrieve(stripe_api_cus_id)
# data = customer.get('response_object')
return customer