summaryrefslogtreecommitdiff
path: root/postgresqleu/stripepayment
diff options
context:
space:
mode:
authorMagnus Hagander2019-11-20 10:11:33 +0000
committerMagnus Hagander2019-11-20 10:11:33 +0000
commitde857e0cac908f3f121812d4161c21dc4f33ad84 (patch)
tree5b17f62f76ddfa8edcfa87c01ab983be43e21441 /postgresqleu/stripepayment
parent41ff83f056b7abe1644a9740e5419aee464720a3 (diff)
Fix incorrect name of stripe payment implementation class
Diffstat (limited to 'postgresqleu/stripepayment')
-rw-r--r--postgresqleu/stripepayment/management/commands/stripe_nightly.py4
-rw-r--r--postgresqleu/stripepayment/management/commands/stripe_update_transactions.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/postgresqleu/stripepayment/management/commands/stripe_nightly.py b/postgresqleu/stripepayment/management/commands/stripe_nightly.py
index a5855429..cc1840be 100644
--- a/postgresqleu/stripepayment/management/commands/stripe_nightly.py
+++ b/postgresqleu/stripepayment/management/commands/stripe_nightly.py
@@ -27,10 +27,10 @@ class Command(BaseCommand):
@classmethod
def should_run(self):
- return InvoicePaymentMethod.objects.filter(active=True, classname='postgresqleu.util.payment.stripe.StripePayment').exists()
+ return InvoicePaymentMethod.objects.filter(active=True, classname='postgresqleu.util.payment.stripe.Stripe').exists()
def handle(self, *args, **options):
- for method in InvoicePaymentMethod.objects.filter(active=True, classname='postgresqleu.util.payment.stripe.StripePayment'):
+ for method in InvoicePaymentMethod.objects.filter(active=True, classname='postgresqleu.util.payment.stripe.Stripe'):
self.handle_one_account(method)
@transaction.atomic
diff --git a/postgresqleu/stripepayment/management/commands/stripe_update_transactions.py b/postgresqleu/stripepayment/management/commands/stripe_update_transactions.py
index c2f557a2..fa654a6a 100644
--- a/postgresqleu/stripepayment/management/commands/stripe_update_transactions.py
+++ b/postgresqleu/stripepayment/management/commands/stripe_update_transactions.py
@@ -22,7 +22,7 @@ class Command(BaseCommand):
@classmethod
def should_run(self):
- if InvoicePaymentMethod.objects.filter(active=True, classname='postgresqleu.util.payment.stripe.StripePayment').exists():
+ if InvoicePaymentMethod.objects.filter(active=True, classname='postgresqleu.util.payment.stripe.Stripe').exists():
return StripeCheckout.objects.filter(completedat__isnull=True).exists()
def handle(self, *args, **options):