This commit is contained in:
PCoder 2019-12-31 18:08:09 +05:30
parent 3ca7e89f4f
commit 9078e46196

View file

@ -208,6 +208,7 @@ def validate_vat_number(stripe_customer_id, billing_address_id,
}
else:
logger.debug("Creating a tax id")
logger.debug("Billing address = %s" % str(billing_address))
tax_id_obj = create_tax_id(
stripe_customer_id, billing_address_id,
"ch_vat" if billing_address.country.lower() == "ch" else "eu_vat",