'Return the status of this transaction, can be one of these: "pending", "completed", "error".
:rtype: str'

@property
def status(self):

    if len([payment for payment in self.payments if (not payment.success)]):
        return 'error'
    return ('completed' if self.is_payment_complete() else 'pending')
