def METHOD_NAME(self, method, pm):
    # Number of days until we start reporting unfinished transactions
    # Note: we only care about transactions that have actually started, where the user
    # got the first step of confirmation. The ones that were never started are uninteresting.
    UNFINISHED_THRESHOLD = 3
    lines = list(TrustlyTransaction.objects.filter(completedat__isnull=True, pendingat__isnull=False, pendingat__lt=timezone.now() - timedelta(days=UNFINISHED_THRESHOLD), paymentmethod=method).order_by('pendingat'))
    if len(lines):
        sio = StringIO()
        sio.write("The following payments have been authorized for %s, but not finished for more than %s days.\nThese probably need to be verified manually.\n\n\n" % (method.internaldescription, UNFINISHED_THRESHOLD))
        for line in lines:
            sio.write("%s at %s: %s\n" % (line.orderid, line.pendingat, line.amount))
        send_simple_mail(settings.INVOICE_SENDER_EMAIL,
                         pm.config('notification_receiver'),
                         'Trustly integration unconfirmed notifications',
                         sio.getvalue())