From 7d9ab322c9d92ed757863d36590548a516859ae9 Mon Sep 17 00:00:00 2001 From: PCoder Date: Thu, 26 Dec 2019 12:38:00 +0530 Subject: [PATCH] Remove vat_validate_on session var --- datacenterlight/views.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/datacenterlight/views.py b/datacenterlight/views.py index 21657bca..de68f418 100644 --- a/datacenterlight/views.py +++ b/datacenterlight/views.py @@ -560,7 +560,6 @@ class PaymentOrderView(FormView): reverse('datacenterlight:payment') + '#vat_error' ) 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 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_validated_on"] = validate_result["validated_on"] if ("vat_validation_status" in request.session and request.session["vat_validation_status"] == "verified"):