From 6fd0659c88741397c4c57799b35994721b4d5cca Mon Sep 17 00:00:00 2001 From: PCoder Date: Thu, 26 Dec 2019 11:02:58 +0530 Subject: [PATCH] Another missing param --- datacenterlight/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datacenterlight/utils.py b/datacenterlight/utils.py index 3585577c..25267095 100644 --- a/datacenterlight/utils.py +++ b/datacenterlight/utils.py @@ -197,7 +197,7 @@ def create_tax_id(stripe_customer_id, vat_number, type): if not tax_id_obj: return tax_id_response - stripe_customer = StripeCustomer.objects.get(stripe_customer_id) + stripe_customer = StripeCustomer.objects.get(stripe_id=stripe_customer_id) billing_address_set = set() for ho in stripe_customer.hostingorder_set.all(): if ho.billing_address.vat_number==vat_number: