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()),
|
'amount': float(product.get_actual_price()),
|
||||||
'recurring': product.product_is_subscription,
|
'recurring': product.product_is_subscription,
|
||||||
'description': product.product_description,
|
'description': product.product_description,
|
||||||
}
|
},
|
||||||
|
product_id=product.id
|
||||||
), })
|
), })
|
||||||
else:
|
else:
|
||||||
context.update({'generic_payment_form': GenericPaymentForm(
|
context.update({'generic_payment_form': GenericPaymentForm(
|
||||||
|
|
Loading…
Reference in a new issue