diff --git a/setup.py b/setup.py
index 231dddf9b10c89e3a0abfa64424ab928d6d42141..6772bfd9eea982e0b182a9423d34b95d7932d45a 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
 
 setup(
     name="stripe-checkout",
-    version="0.13",
+    version="0.14",
     author="GEANT",
     author_email="swd@geant.org",
     description="Stripe custom checkout support service",
diff --git a/stripe_checkout/stripe_checkout/management/commands/processevents.py b/stripe_checkout/stripe_checkout/management/commands/processevents.py
index 25c09568a7587a8e4f57df23ed7cb1d36a72a0a5..9cdc7e0512fbc54240886ad1466f8e696fa8a4d7 100644
--- a/stripe_checkout/stripe_checkout/management/commands/processevents.py
+++ b/stripe_checkout/stripe_checkout/management/commands/processevents.py
@@ -30,6 +30,7 @@ Amount: EUR {amount}
 
 class Command(BaseCommand):
     def handle(self, *args, **options):
+        stripe.api_key = settings.STRIPE_API_KEY
         unhandled_events = Event.objects.filter(handled=False).all()
         for event in unhandled_events:
             with transaction.atomic():