From e815cdf6ad419f2d992404aded7d7c05b751b66c Mon Sep 17 00:00:00 2001 From: Jacob Rief Date: Thu, 21 Mar 2019 23:16:39 +0100 Subject: [PATCH] make use of parameter with_notification --- shop_paypal/payment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shop_paypal/payment.py b/shop_paypal/payment.py index abc4a09..82579c9 100644 --- a/shop_paypal/payment.py +++ b/shop_paypal/payment.py @@ -125,7 +125,7 @@ def return_view(cls, request): order = OrderModel.objects.create_from_cart(cart, request) order.populate_from_cart(cart, request) order.add_paypal_payment(payment.to_dict()) - order.save() + order.save(with_notification=True) return HttpResponseRedirect(order.get_absolute_url()) return cls.cancel_view(request)