Remove vat_validate_on session var
This commit is contained in:
parent
fe6ade38eb
commit
7d9ab322c9
1 changed files with 0 additions and 2 deletions
|
@ -560,7 +560,6 @@ class PaymentOrderView(FormView):
|
||||||
reverse('datacenterlight:payment') + '#vat_error'
|
reverse('datacenterlight:payment') + '#vat_error'
|
||||||
)
|
)
|
||||||
request.session["vat_validation_status"] = validate_result["status"]
|
request.session["vat_validation_status"] = validate_result["status"]
|
||||||
request.session["vat_validated_on"] = validate_result["validated_on"]
|
|
||||||
|
|
||||||
# For generic payment we take the user directly to confirmation
|
# For generic payment we take the user directly to confirmation
|
||||||
if ('generic_payment_type' in request.session and
|
if ('generic_payment_type' in request.session and
|
||||||
|
@ -658,7 +657,6 @@ class OrderConfirmationView(DetailView, FormView):
|
||||||
)
|
)
|
||||||
|
|
||||||
request.session["vat_validation_status"] = validate_result["status"]
|
request.session["vat_validation_status"] = validate_result["status"]
|
||||||
request.session["vat_validated_on"] = validate_result["validated_on"]
|
|
||||||
|
|
||||||
if ("vat_validation_status" in request.session and
|
if ("vat_validation_status" in request.session and
|
||||||
request.session["vat_validation_status"] == "verified"):
|
request.session["vat_validation_status"] == "verified"):
|
||||||
|
|
Loading…
Reference in a new issue