feat: add stripe webhook

This commit is contained in:
2026-05-19 21:14:04 +02:00
parent d2c870414f
commit 6d927856c8
4 changed files with 144 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
from django.urls import path
from django.views.decorators.csrf import csrf_exempt
from . import views
@@ -14,4 +15,5 @@ urlpatterns = [
name="mock_refund_purchase",
),
path("success/", views.purchase_success, name="purchase_success"),
path("stripe/webhook/", csrf_exempt(views.stripe_webhook), name="stripe-webhook"),
]