summaryrefslogtreecommitdiff
path: root/postgresqleu/stripepayment/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'postgresqleu/stripepayment/views.py')
-rw-r--r--postgresqleu/stripepayment/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/postgresqleu/stripepayment/views.py b/postgresqleu/stripepayment/views.py
index cb136378..1e5bfe09 100644
--- a/postgresqleu/stripepayment/views.py
+++ b/postgresqleu/stripepayment/views.py
@@ -14,6 +14,7 @@ from postgresqleu.invoices.models import Invoice, InvoicePaymentMethod
from postgresqleu.invoices.util import InvoiceManager
from postgresqleu.invoices.util import is_managed_bank_account
from postgresqleu.invoices.util import register_pending_bank_matcher
+from postgresqleu.util.decorators import global_login_exempt
from postgresqleu.accounting.util import create_accounting_entry
from postgresqleu.mailqueue.util import send_simple_mail
@@ -125,6 +126,7 @@ def invoicepayment_cancel(request, paymentmethod, invoiceid, secret):
@csrf_exempt
+@global_login_exempt
def webhook(request, methodid):
sig = request.META['HTTP_STRIPE_SIGNATURE']
try: