2023-04-06 11:08:42 +00:00
|
|
|
# -*- coding:utf-8 -*-
|
2017-04-24 15:51:12 +00:00
|
|
|
#
|
2023-04-06 11:08:42 +00:00
|
|
|
# Copyright 2023 © AE UTBM
|
|
|
|
# ae@utbm.fr / ae.info@utbm.fr
|
|
|
|
# All contributors are listed in the CONTRIBUTORS file.
|
2017-04-24 15:51:12 +00:00
|
|
|
#
|
2023-04-06 11:08:42 +00:00
|
|
|
# This file is part of the website of the UTBM Student Association (AE UTBM),
|
|
|
|
# https://ae.utbm.fr.
|
2017-04-24 15:51:12 +00:00
|
|
|
#
|
2023-04-06 11:08:42 +00:00
|
|
|
# You can find the whole source code at https://github.com/ae-utbm/sith3
|
2017-04-24 15:51:12 +00:00
|
|
|
#
|
2023-04-06 11:08:42 +00:00
|
|
|
# LICENSED UNDER THE GNU GENERAL PUBLIC LICENSE VERSION 3 (GPLv3)
|
|
|
|
# SEE : https://raw.githubusercontent.com/ae-utbm/sith3/master/LICENSE
|
|
|
|
# OR WITHIN THE LOCAL FILE "LICENSE"
|
2017-04-24 15:51:12 +00:00
|
|
|
#
|
2023-04-06 11:08:42 +00:00
|
|
|
# PREVIOUSLY LICENSED UNDER THE MIT LICENSE,
|
|
|
|
# SEE : https://raw.githubusercontent.com/ae-utbm/sith3/master/LICENSE.old
|
|
|
|
# OR WITHIN THE LOCAL FILE "LICENSE.old"
|
2017-04-24 15:51:12 +00:00
|
|
|
#
|
|
|
|
|
2022-09-25 19:29:42 +00:00
|
|
|
from django.urls import path, register_converter
|
2016-07-21 23:19:50 +00:00
|
|
|
|
2022-09-25 19:29:42 +00:00
|
|
|
from eboutic.converters import PaymentResultConverter
|
2024-06-24 11:07:36 +00:00
|
|
|
from eboutic.views import *
|
2022-09-25 19:29:42 +00:00
|
|
|
|
|
|
|
register_converter(PaymentResultConverter, "res")
|
2016-07-21 23:19:50 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
# Subscription views
|
2022-09-25 19:29:42 +00:00
|
|
|
path("", eboutic_main, name="main"),
|
|
|
|
path("command/", EbouticCommand.as_view(), name="command"),
|
2022-11-28 16:03:46 +00:00
|
|
|
path("pay/sith/", pay_with_sith, name="pay_with_sith"),
|
2022-09-25 19:29:42 +00:00
|
|
|
path("pay/<res:result>/", payment_result, name="payment_result"),
|
2022-11-28 16:03:46 +00:00
|
|
|
path("et_data/", e_transaction_data, name="et_data"),
|
2022-09-25 19:29:42 +00:00
|
|
|
path(
|
2022-11-16 22:08:13 +00:00
|
|
|
"et_autoanswer",
|
2018-10-04 19:29:19 +00:00
|
|
|
EtransactionAutoAnswer.as_view(),
|
|
|
|
name="etransation_autoanswer",
|
|
|
|
),
|
2016-07-21 23:19:50 +00:00
|
|
|
]
|