Remove unused variable
This commit is contained in:
		
					parent
					
						
							
								baa2817f57
							
						
					
				
			
			
				commit
				
					
						6b663d82a1
					
				
			
		
					 1 changed files with 0 additions and 2 deletions
				
			
		|  | @ -282,10 +282,8 @@ class PaymentOrderView(FormView): | ||||||
|             ) |             ) | ||||||
|         if address_form.is_valid(): |         if address_form.is_valid(): | ||||||
|             token = address_form.cleaned_data.get('token') |             token = address_form.cleaned_data.get('token') | ||||||
|             owner = self.request.user |  | ||||||
|             if token is '': |             if token is '': | ||||||
|                 card_id = address_form.cleaned_data.get('card') |                 card_id = address_form.cleaned_data.get('card') | ||||||
|                 customer = owner.stripecustomer |  | ||||||
|                 try: |                 try: | ||||||
|                     user_card_detail = UserCardDetail.objects.get(id=card_id) |                     user_card_detail = UserCardDetail.objects.get(id=card_id) | ||||||
|                     if not request.user.has_perm( |                     if not request.user.has_perm( | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue