Add missing card_id to session variables to be cleared
This commit is contained in:
		
					parent
					
						
							
								4be2796270
							
						
					
				
			
			
				commit
				
					
						83dbae74e6
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -765,7 +765,7 @@ class OrderConfirmationView(DetailView):
 | 
				
			||||||
        HostingUtils.clear_items_from_list(
 | 
					        HostingUtils.clear_items_from_list(
 | 
				
			||||||
            request.session,
 | 
					            request.session,
 | 
				
			||||||
            ['specs', 'template', 'billing_address', 'billing_address_data',
 | 
					            ['specs', 'template', 'billing_address', 'billing_address_data',
 | 
				
			||||||
             'token', 'customer']
 | 
					             'token', 'customer', 'card_id']
 | 
				
			||||||
        )
 | 
					        )
 | 
				
			||||||
        if request.user.is_authenticated():
 | 
					        if request.user.is_authenticated():
 | 
				
			||||||
            redirect_url = reverse('hosting:virtual_machines')
 | 
					            redirect_url = reverse('hosting:virtual_machines')
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue