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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyblackbird_cc/payments/urls.py b/pyblackbird_cc/payments/urls.py
index 7f10a9b..d294aab 100644
--- a/pyblackbird_cc/payments/urls.py
+++ b/pyblackbird_cc/payments/urls.py
@@ -1,8 +1,7 @@
from django.urls import path
from . import views
-from .views import CancelView
-from .views import SuccessView
+from .views import CancelView, SuccessView
app_name = "payments"
@@ -16,6 +15,7 @@ urlpatterns = [
views.CreateCheckoutSessionView.as_view(),
name="create-checkout-session",
),
+ path("add-to-card/<int:pk>", views.add_to_cart, name="add_to_cart"),
path("landing/", views.ProductLandingPageView.as_view(), name="landing"),
# path("webhook/", views.webhook, name="webhook"),
]