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