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
|
return customer
|
||||||
|
|
||||||
@handleStripeError
|
@handleStripeError
|
||||||
def get_customer(self, id):
|
def get_customer(self, stripe_api_cus_id):
|
||||||
customer = stripe.Customer.retrieve(id)
|
customer = stripe.Customer.retrieve(stripe_api_cus_id)
|
||||||
# data = customer.get('response_object')
|
# data = customer.get('response_object')
|
||||||
return customer
|
return customer
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue