More logging

This commit is contained in:
PCoder 2019-12-26 18:26:30 +05:30
parent 32d9f06c18
commit 064ea5be2f

View file

@ -200,6 +200,7 @@ def validate_vat_number(stripe_customer_id, billing_address_id,
"ch_vat" if billing_address.country.lower() == "ch" else "eu_vat", "ch_vat" if billing_address.country.lower() == "ch" else "eu_vat",
is_user_ba=is_user_ba is_user_ba=is_user_ba
) )
logger.debug("tax_id_obj = %s" % str(tax_id_obj))
logger.debug("Created tax_id %s" % tax_id_obj['response_object'].id) logger.debug("Created tax_id %s" % tax_id_obj['response_object'].id)
else: else:
logger.debug("invalid billing address") logger.debug("invalid billing address")