Pass product_id to ProductPaymentForm

This commit is contained in:
PCoder 2018-10-03 22:53:24 +02:00
parent 74ec39498e
commit ec70cd1c83
1 changed files with 2 additions and 1 deletions

View File

@ -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(