From 1374eaf1a29bb357b37d2fe63c9b14321c07c249 Mon Sep 17 00:00:00 2001 From: PCoder Date: Fri, 27 Oct 2017 00:41:49 +0200 Subject: [PATCH] Rename id to stripe_api_cus_id --- utils/stripe_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/stripe_utils.py b/utils/stripe_utils.py index 5299e4d5..b9884ebf 100644 --- a/utils/stripe_utils.py +++ b/utils/stripe_utils.py @@ -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