mirror of
https://github.com/ae-utbm/sith.git
synced 2024-12-22 15:51:19 +00:00
Merge pull request #497 from ae-utbm/eboutic-patch
Correct wrong et_autoanswer url
This commit is contained in:
commit
e43d53e564
@ -42,16 +42,16 @@
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</p>
|
||||
{# {% if settings.SITH_EBOUTIC_CB_ENABLED %}#}
|
||||
{# <form method="post" action="{{ settings.SITH_EBOUTIC_ET_URL }}">#}
|
||||
{# <p>#}
|
||||
{# {% for (field_name,field_value) in et_request.items() -%}#}
|
||||
{# <input type="hidden" name="{{ field_name }}" value="{{ field_value }}">#}
|
||||
{# {% endfor %}#}
|
||||
{# <input type="submit" value="{% trans %}Pay with credit card{% endtrans %}" />#}
|
||||
{# </p>#}
|
||||
{# </form>#}
|
||||
{# {% endif %}#}
|
||||
{% if settings.SITH_EBOUTIC_CB_ENABLED %}
|
||||
<form method="post" action="{{ settings.SITH_EBOUTIC_ET_URL }}">
|
||||
<p>
|
||||
{% for (field_name,field_value) in et_request.items() -%}
|
||||
<input type="hidden" name="{{ field_name }}" value="{{ field_value }}">
|
||||
{% endfor %}
|
||||
<input type="submit" value="{% trans %}Pay with credit card{% endtrans %}" />
|
||||
</p>
|
||||
</form>
|
||||
{% endif %}
|
||||
{% if basket.contains_refilling_item %}
|
||||
<p>{% trans %}AE account payment disabled because your basket contains refilling items.{% endtrans %}</p>
|
||||
{% else %}
|
||||
|
@ -37,7 +37,7 @@ urlpatterns = [
|
||||
path("pay/", pay_with_sith, name="pay_with_sith"),
|
||||
path("pay/<res:result>/", payment_result, name="payment_result"),
|
||||
path(
|
||||
"et_autoanswer/",
|
||||
"et_autoanswer",
|
||||
EtransactionAutoAnswer.as_view(),
|
||||
name="etransation_autoanswer",
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user