Fix error message
This commit is contained in:
parent
2378410f2d
commit
ca5724f10f
1 changed files with 2 additions and 1 deletions
|
@ -273,7 +273,8 @@ def create_tax_id(stripe_customer_id, billing_address_id, type,
|
|||
return {
|
||||
'paid': False,
|
||||
'response_object': None,
|
||||
'error': "No such address found"
|
||||
'error': "No such address found" if 'error' not in tax_id_obj else
|
||||
tax_id_obj["error"]
|
||||
}
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue