Also clear id_payment_method from session
This commit is contained in:
		
					parent
					
						
							
								1d7c3f424c
							
						
					
				
			
			
				commit
				
					
						44ebb71916
					
				
			
		
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -111,7 +111,8 @@ def clear_all_session_vars(request): | ||||||
|                             'token', 'customer', 'generic_payment_type', |                             'token', 'customer', 'generic_payment_type', | ||||||
|                             'generic_payment_details', 'product_id', |                             'generic_payment_details', 'product_id', | ||||||
|                             'order_confirm_url', 'new_user_hosting_key_id', |                             'order_confirm_url', 'new_user_hosting_key_id', | ||||||
|                             'vat_validation_status', 'billing_address_id']: |                             'vat_validation_status', 'billing_address_id', | ||||||
|  |                             'id_payment_method']: | ||||||
|             if session_var in request.session: |             if session_var in request.session: | ||||||
|                 del request.session[session_var] |                 del request.session[session_var] | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue