Fix generate-bills, remove debug print in charge method
This commit is contained in:
		
					parent
					
						
							
								a4fa0def4b
							
						
					
				
			
			
				commit
				
					
						7e58a8ace2
					
				
			
		
					 1 changed files with 0 additions and 1 deletions
				
			
		|  | @ -149,7 +149,6 @@ class PaymentMethod(models.Model): | |||
|             stripe_customer = StripeCustomer.objects.get(owner=self.owner).stripe_id | ||||
|             stripe_payment = uncloud_pay.stripe.charge_customer( | ||||
|                     amount, stripe_customer, self.stripe_payment_method_id) | ||||
|             print(stripe_payment) | ||||
|             if 'paid' in stripe_payment and stripe_payment['paid'] == False: | ||||
|                 raise Exception(stripe_payment['error']) | ||||
|             else: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue