Also clear vat_validation_status from session

This commit is contained in:
PCoder 2019-12-25 22:48:57 +05:30
parent 4491a52bd9
commit 908c2e055c

View file

@ -106,7 +106,8 @@ def clear_all_session_vars(request):
'billing_address_data', 'card_id',
'token', 'customer', 'generic_payment_type',
'generic_payment_details', 'product_id',
'order_confirm_url', 'new_user_hosting_key_id']:
'order_confirm_url', 'new_user_hosting_key_id',
'vat_validation_status']:
if session_var in request.session:
del request.session[session_var]