Use setup_future_usage='off_session'
This commit is contained in:
		
					parent
					
						
							
								d2ebd3c473
							
						
					
				
			
			
				commit
				
					
						8c72b56f6c
					
				
			
		
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -524,7 +524,8 @@ class StripeUtils(object): | |||
|         payment_intent_obj = stripe.PaymentIntent.create( | ||||
|             amount=amount, | ||||
|             currency='chf', | ||||
|             customer=customer | ||||
|             customer=customer, | ||||
|             setup_future_usage='off_session' | ||||
|         ) | ||||
|         return payment_intent_obj | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue