pending payments added to the actual balance

Create issue
Issue #959 new
Former user created an issue

Actual balance returned by Order.balance includes all payments. All - so pending payments as well.

In my opinion pending payments shall be excluded.

line 696 of satchmo / apps / satchmo_store / shop / should be: {{{ payments = [p.amount for p in self.payments.exclude(transaction_id__isnull = False, transaction_id = "PENDING")] }}}

or {{{ payments = [p.amount for p in self. payments_completed] }}}

Comments (1)

  1. Log in to comment