DRF_Template/backend/payments/urls.py

8 lines
223 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'),
]