summaryrefslogtreecommitdiff
path: root/postgresqleu/stripepayment
diff options
context:
space:
mode:
Diffstat (limited to 'postgresqleu/stripepayment')
-rw-r--r--postgresqleu/stripepayment/api.py2
-rw-r--r--postgresqleu/stripepayment/management/commands/stripe_update_transactions.py4
2 files changed, 2 insertions, 4 deletions
diff --git a/postgresqleu/stripepayment/api.py b/postgresqleu/stripepayment/api.py
index 774b6b94..10a4f1b8 100644
--- a/postgresqleu/stripepayment/api.py
+++ b/postgresqleu/stripepayment/api.py
@@ -6,7 +6,7 @@ from decimal import Decimal
import requests
from requests.auth import HTTPBasicAuth
-from .models import StripeCheckout, StripeRefund
+from .models import StripeRefund
class StripeException(Exception):
diff --git a/postgresqleu/stripepayment/management/commands/stripe_update_transactions.py b/postgresqleu/stripepayment/management/commands/stripe_update_transactions.py
index fa654a6a..6b3f0795 100644
--- a/postgresqleu/stripepayment/management/commands/stripe_update_transactions.py
+++ b/postgresqleu/stripepayment/management/commands/stripe_update_transactions.py
@@ -4,10 +4,8 @@
#
from django.core.management.base import BaseCommand
-from django.db import transaction
-from django.conf import settings
-from datetime import time, datetime, timedelta
+from datetime import timedelta
from postgresqleu.invoices.models import InvoicePaymentMethod
from postgresqleu.stripepayment.models import StripeCheckout