Files
shoppy/tpv/urls.py
T
2024-11-20 18:09:44 +01:00

20 lines
593 B
Python

from django.urls import path
from tpv.views import (
transaction_created,
webhook,
payment_accepted,
payment_rejected,
payment_form,
)
app_name = "tpv"
urlpatterns = [
path("transaction/<str:transaction>/", transaction_created, name="order_created"),
path("transaction/<str:transaction>/webhook/", webhook, name="webhook"),
path("transaction/<str:transaction>/ok/", payment_accepted, name="ok"),
path("transaction/<str:transaction>/ko/", payment_rejected, name="ko"),
path("transaction/<str:transaction>/form/", payment_form, name="payment_form"),
]