Fixed a blunder mistake. Was using name instead of email
This commit is contained in:
		
					parent
					
						
							
								e5929b8f76
							
						
					
				
			
			
				commit
				
					
						5b8a26eeb3
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -342,7 +342,7 @@ class PaymentOrderView(FormView): | |||
| 
 | ||||
| 
 | ||||
|             # Get or create stripe customer | ||||
|             customer = StripeCustomer.get_or_create(email=user.get('name'), | ||||
|             customer = StripeCustomer.get_or_create(email=user.get('email'), | ||||
|                                                     token=token) | ||||
|             if not customer: | ||||
|                 form.add_error("__all__", "Invalid credit card") | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue