Commit 44ebb719 authored by PCoder's avatar PCoder

Also clear id_payment_method from session

parent 1d7c3f42
......@@ -111,7 +111,8 @@ def clear_all_session_vars(request):
'token', 'customer', 'generic_payment_type',
'generic_payment_details', 'product_id',
'order_confirm_url', 'new_user_hosting_key_id',
'vat_validation_status', 'billing_address_id']:
'vat_validation_status', 'billing_address_id',
if session_var in request.session:
del request.session[session_var]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment