Pass product_id to ProductPaymentForm
This commit is contained in:
		
					parent
					
						
							
								74ec39498e
							
						
					
				
			
			
				commit
				
					
						ec70cd1c83
					
				
			
		
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -263,7 +263,8 @@ class PaymentOrderView(FormView): | |||
|                              'amount': float(product.get_actual_price()), | ||||
|                              'recurring': product.product_is_subscription, | ||||
|                              'description': product.product_description, | ||||
|                              } | ||||
|                              }, | ||||
|                     product_id=product.id | ||||
|                 ), }) | ||||
|             else: | ||||
|                 context.update({'generic_payment_form': GenericPaymentForm( | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue