aboutsummaryrefslogblamecommitdiffstats
path: root/pyblackbird_cc/payments/urls.py
blob: 4fdc75857ea1a2c27e0c660d5e8b7ef90ff2f4d4 (plain) (tree)
1
2
3
4
5


                            

                              












                                                                                        
from django.urls import path

from . import views
from .views import CancelView
from .views import SuccessView

app_name = "payments"

urlpatterns = [
    # path("checkout/", views.checkout, name="checkout"),
    # path("cart/", views.cart_detail, name="cart_detail"),
    path("success/", SuccessView.as_view(), name="success"),
    path("cancel/", CancelView.as_view(), name="cancel"),
    path("create-checkout-session/<int:pk>/", views.CreateCheckoutSessionView.as_view(),
         name="create-checkout-session"),
    path("landing/", views.ProductLandingPageView.as_view(), name="landing"),
    # path("webhook/", views.webhook, name="webhook"),
]