diff --git a/shop/views.py b/shop/views.py index 7d35406b..394289f6 100644 --- a/shop/views.py +++ b/shop/views.py @@ -299,9 +299,8 @@ class EpayCallbackView(SingleObjectMixin, View): callback=callback, txnid=query.get('txnid'), ) - ### and mark order as paid - order.paid=True - order.save() + ### and mark order as paid (this will create tickets) + order.mark_as_paid() else: print "valid epay callback with wrong amount detected" else: