DRF_Template/backend/payments/urls.py

7 lines
221 B
Python

from django.urls import path
from payments import views
urlpatterns = [
path("checkout_session/", views.StripeCheckoutView.as_view()),
path("webhook/", views.stripe_webhook_view, name="Stripe Webhook"),
]