divio/django-shop — pull request #156 by bmihelac (2012-05-21 15:59:46+00:00)
Title: FIX #155 - Payment API empty cart bug

If there is no current user, api cannot know what is cart for given order
(no request), making it impossible to empty that type of carts.

Also it does not make much sense to clear cart only if is_order_payed(order).