Skip to content
Snippets Groups Projects
Commit ea7c586c authored by Pelle Koster's avatar Pelle Koster
Browse files

Add missing stripe api key

parent cd1c29bd
No related branches found
No related tags found
No related merge requests found
......@@ -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():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment