summaryrefslogtreecommitdiff
path: root/postgresqleu
diff options
context:
space:
mode:
Diffstat (limited to 'postgresqleu')
-rw-r--r--postgresqleu/trustlypayment/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresqleu/trustlypayment/util.py b/postgresqleu/trustlypayment/util.py
index 7fdbdb06..b12418f6 100644
--- a/postgresqleu/trustlypayment/util.py
+++ b/postgresqleu/trustlypayment/util.py
@@ -119,7 +119,7 @@ class Trustly(TrustlyWrapper):
try:
trans = TrustlyTransaction.objects.get(orderid=notification.orderid)
except TrustlyTransaction.DoesNotExist:
- self.log_and_email("Transaction {0} for notification {1} not found to cancel!".format(notification.orderid, notification.id))
+ TrustlyLog("Abandoned transaction {0} canceled from notification".format(notification.orderid))
return False
if trans.pendingat:
self.log_and_email("Transaction {0} canceled by notification {1} but already in progress. Ignoring cancel!".format(notification.orderid, notification.id))