feat: add stripe webhook
This commit is contained in:
@@ -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"),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user