aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/payments/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyblackbird_cc/payments/urls.py')
-rw-r--r--pyblackbird_cc/payments/urls.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/pyblackbird_cc/payments/urls.py b/pyblackbird_cc/payments/urls.py
index 4fdc758..7f10a9b 100644
--- a/pyblackbird_cc/payments/urls.py
+++ b/pyblackbird_cc/payments/urls.py
@@ -7,12 +7,15 @@ from .views import SuccessView
app_name = "payments"
urlpatterns = [
- # path("checkout/", views.checkout, name="checkout"),
- # path("cart/", views.cart_detail, name="cart_detail"),
+ 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(
+ "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"),
]