diff options
author | Matthew Lemon <y@yulqen.org> | 2024-09-08 13:59:10 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-09-08 13:59:10 +0100 |
commit | db531eaa027d2abcfcceabfef4b8aa9dc5ca1e5d (patch) | |
tree | 47dc0044d1a50c8ffbe689ab9f09ed3bda296ae8 /pyblackbird_cc/payments/urls.py | |
parent | 50c7d5b46a9e25390ab4c4ff5dcb944a12df2bef (diff) |
wip: implementing checkout
- also some formatting changes
Diffstat (limited to 'pyblackbird_cc/payments/urls.py')
-rw-r--r-- | pyblackbird_cc/payments/urls.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pyblackbird_cc/payments/urls.py b/pyblackbird_cc/payments/urls.py new file mode 100644 index 0000000..dcfe3dc --- /dev/null +++ b/pyblackbird_cc/payments/urls.py @@ -0,0 +1,17 @@ +from django.urls import path + +from . import views +from .views import CancelView, 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"), +] |