Bugfix: Pass parameter name
This commit is contained in:
parent
0e40ca6044
commit
4560c8bf83
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ def check_otp(name, realm, token):
|
||||||
|
|
||||||
def validate_vat_number(stripe_customer_id, billing_address_id):
|
def validate_vat_number(stripe_customer_id, billing_address_id):
|
||||||
try:
|
try:
|
||||||
billing_address = BillingAddress.objects.get(billing_address_id)
|
billing_address = BillingAddress.objects.get(id=billing_address_id)
|
||||||
except BillingAddress.DoesNotExist as dne:
|
except BillingAddress.DoesNotExist as dne:
|
||||||
billing_address = None
|
billing_address = None
|
||||||
logger.debug("BillingAddress does not exist for %s" % billing_address_id)
|
logger.debug("BillingAddress does not exist for %s" % billing_address_id)
|
||||||
|
|
Loading…
Reference in a new issue