We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bfde57 commit 62179aaCopy full SHA for 62179aa
app/api/orders.py
@@ -69,7 +69,7 @@ def is_payment_valid(order, mode):
69
70
71
def check_billing_info(data, order):
72
- if order.event.is_billing_info_mandatory and data.get('amount') and data.get('amount') > 0 and not (data.get('company')
+ if order.event.is_billing_info_mandatory and data.get('amount') and data.get('amount') > 0 and not (data.get('company')
73
and data.get('address') and data.get('city') and data.get('zipcode') and data.get('country')):
74
raise UnprocessableEntity({'pointer': '/data/attributes/is_billing_enabled'},
75
"Billing information incomplete")
0 commit comments