Rename id to stripe_api_cus_id
This commit is contained in:
parent
a6d28bff86
commit
1374eaf1a2
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue