summaryrefslogtreecommitdiff
path: root/postgresqleu/stripepayment
diff options
context:
space:
mode:
authorMagnus Hagander2020-01-02 17:18:18 +0000
committerMagnus Hagander2020-01-02 17:18:18 +0000
commit11e471e74ee710165dbb0434754eb805fa514741 (patch)
tree7628a16061eb680b65c6345606cf1924a6ef8e7e /postgresqleu/stripepayment
parent3610fc063c3d75d5b9de3496e1f937717a2acd55 (diff)
Fix field spelling error
Diffstat (limited to 'postgresqleu/stripepayment')
-rw-r--r--postgresqleu/stripepayment/management/commands/stripe_nightly.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresqleu/stripepayment/management/commands/stripe_nightly.py b/postgresqleu/stripepayment/management/commands/stripe_nightly.py
index a3d82419..697f542e 100644
--- a/postgresqleu/stripepayment/management/commands/stripe_nightly.py
+++ b/postgresqleu/stripepayment/management/commands/stripe_nightly.py
@@ -76,7 +76,7 @@ Better go check manually!
def check_refunds(self, method, pm):
for r in StripeRefund.objects.filter(paymentmethod=method,
completedat__isnull=False,
- invoicerefund__issued__lt=datetime.now() - timedelta(hours=6)):
+ invoicerefundid__issued__lt=datetime.now() - timedelta(hours=6)):
send_simple_mail(settings.INVOICE_SENDER_EMAIL,
pm.config('notification_receiver'),