Save description and product_id
This commit is contained in:
parent
ed7ffb355f
commit
51c5fa98dd
1 changed files with 3 additions and 2 deletions
|
@ -847,8 +847,8 @@ class OrderConfirmationView(DetailView):
|
||||||
|
|
||||||
# Set order status approved
|
# Set order status approved
|
||||||
order.set_approved()
|
order.set_approved()
|
||||||
|
order.generic_payment_description = gp_details["description"]
|
||||||
order.generic_payment_id = str(uuid.uuid4())
|
order.generic_product_id = gp_details["product_id"]
|
||||||
order.save()
|
order.save()
|
||||||
# send emails
|
# send emails
|
||||||
context = {
|
context = {
|
||||||
|
@ -857,6 +857,7 @@ class OrderConfirmationView(DetailView):
|
||||||
'amount': gp_details['amount'],
|
'amount': gp_details['amount'],
|
||||||
'description': gp_details['description'],
|
'description': gp_details['description'],
|
||||||
'recurring': gp_details['recurring'],
|
'recurring': gp_details['recurring'],
|
||||||
|
'product_name': gp_details['product_name'],
|
||||||
'order_id': order.id
|
'order_id': order.id
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue