Also handle ch_vat
This commit is contained in:
parent
908c2e055c
commit
4a40438edc
3 changed files with 13 additions and 7 deletions
|
|
@ -546,7 +546,8 @@ class PaymentOrderView(FormView):
|
|||
if vat_number:
|
||||
validate_result = validate_vat_number(
|
||||
stripe_customer_id=request.session['customer'],
|
||||
vat_number=address_form.cleaned_data.get('vat_number')
|
||||
vat_number=address_form.cleaned_data.get('vat_number'),
|
||||
country=address_form.cleaned_data.get("country").strip()
|
||||
)
|
||||
|
||||
if 'response_object' in validate_result:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue