feat(examples): route payment, callback and verify URLs

This commit is contained in:
sankalp committed 2026-09-03 00:41:05 +05:45
1 parent 0826ea50ed
commit 94b2560503
1 file changed
+17
+17
View File
@@ -0,0 +1,17 @@
"""URL routes for the example payments app."""
from django.urls import path
from . import views
app_name = "payments"
urlpatterns = [
path("", views.home, name="payments-home"),
path("new/<str:gateway>/", views.create_order, name="payments-create"),
path("static-qr/", views.static_qr, name="payments-static-qr"),
path("connectips-payment/", views.connectips_payment, name="payments-connectips-payment"),
path("verify/<int:order_id>/", views.verify_order, name="payments-verify"),
path("callback/<str:gateway>/", views.callback, name="payments-callback"),
path("failure/<str:gateway>/", views.failure, name="payments-failure"),
]