Bugfix: pass param
This commit is contained in:
parent
833dc9bdcb
commit
242dbb2479
1 changed files with 1 additions and 2 deletions
|
@ -642,8 +642,7 @@ class OrderConfirmationView(DetailView, FormView):
|
||||||
vm_specs["price"] = price
|
vm_specs["price"] = price
|
||||||
|
|
||||||
vat_number = request.session.get('billing_address_data').get("vat_number")
|
vat_number = request.session.get('billing_address_data').get("vat_number")
|
||||||
billing_address = BillingAddress.objects.get(
|
billing_address = BillingAddress.objects.get(id=request.session["billing_address_id"])
|
||||||
request.session["billing_address_id"])
|
|
||||||
if vat_number:
|
if vat_number:
|
||||||
validate_result = validate_vat_number(
|
validate_result = validate_vat_number(
|
||||||
stripe_customer_id=request.session['customer'],
|
stripe_customer_id=request.session['customer'],
|
||||||
|
|
Loading…
Reference in a new issue