Begin implementing billing
This commit is contained in:
29
app/urls.py
29
app/urls.py
@@ -38,24 +38,25 @@ from core.views import (
|
||||
strategies,
|
||||
trades,
|
||||
)
|
||||
from core.views.stripe_callbacks import Callback
|
||||
|
||||
# from core.views.stripe_callbacks import Callback
|
||||
|
||||
urlpatterns = [
|
||||
path("__debug__/", include("debug_toolbar.urls")),
|
||||
path("", base.Home.as_view(), name="home"),
|
||||
path("callback", Callback.as_view(), name="callback"),
|
||||
path("billing/", base.Billing.as_view(), name="billing"),
|
||||
path("order/<str:plan_name>/", base.Order.as_view(), name="order"),
|
||||
path(
|
||||
"cancel_subscription/<str:plan_name>/",
|
||||
base.Cancel.as_view(),
|
||||
name="cancel_subscription",
|
||||
),
|
||||
path(
|
||||
"success/", TemplateView.as_view(template_name="success.html"), name="success"
|
||||
),
|
||||
path("cancel/", TemplateView.as_view(template_name="cancel.html"), name="cancel"),
|
||||
path("portal", base.Portal.as_view(), name="portal"),
|
||||
# path("callback", Callback.as_view(), name="callback"),
|
||||
# path("billing/", base.Billing.as_view(), name="billing"),
|
||||
# path("order/<str:plan_name>/", base.Order.as_view(), name="order"),
|
||||
# path(
|
||||
# "cancel_subscription/<str:plan_name>/",
|
||||
# base.Cancel.as_view(),
|
||||
# name="cancel_subscription",
|
||||
# ),
|
||||
# path(
|
||||
# "success/", TemplateView.as_view(template_name="success.html"), name="success"
|
||||
# ),
|
||||
# path("cancel/", TemplateView.as_view(template_name="cancel.html"), name="cancel"),
|
||||
# path("portal", base.Portal.as_view(), name="portal"),
|
||||
path("sapp/", admin.site.urls),
|
||||
# 2FA login urls
|
||||
path("", include(tf_urls)),
|
||||
|
||||
Reference in New Issue
Block a user