Another missing param

This commit is contained in:
PCoder 2019-12-26 11:02:58 +05:30
parent 4560c8bf83
commit 6fd0659c88
1 changed files with 1 additions and 1 deletions

View File

@ -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: