JourneyJoker/payment/urls.py

13 lines
493 B
Python

from django.urls import path
from payment.views import StatusView, StripeRedirectView, StripeRedirectJSView, callback
app_name = "payment"
urlpatterns = [
path('<uuid:pk>/status/', StatusView.as_view(), name="status"),
path('<uuid:pk>/redirect_stripe/', StripeRedirectView.as_view(), name="redirect_stripe"),
path('<uuid:pk>/redirect_stripe/redirect.js', StripeRedirectJSView.as_view(), name="redirect_stripe_js"),
path('<uuid:pk>/callback/', callback, name="callback"),
]