mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 20:09:25 +00:00
Implement parts of the ET API
This commit is contained in:
@ -31,7 +31,6 @@
|
||||
<p><strong>{% trans %}Total: {% endtrans %}{{ "%0.2f"|format(basket_total) }} €</strong></p>
|
||||
<form method="post" action="{{ url('eboutic:command') }}">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="action" value="ask_payment">
|
||||
<input type="submit" value="{% trans %}Proceed to command{% endtrans %}" />
|
||||
</form>
|
||||
</div>
|
||||
|
@ -23,9 +23,10 @@
|
||||
{% endfor %}
|
||||
<tbody>
|
||||
</table>
|
||||
<form method="post" action="{{ url('eboutic:command') }}">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="action" value="pay_with_credit_card">
|
||||
<form method="post" action="{{ settings.SITH_EBOUTIC_ET_URL }}">
|
||||
{% 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 %}" />
|
||||
</form>
|
||||
<form method="post" action="{{ url('eboutic:pay_with_sith') }}">
|
||||
|
Reference in New Issue
Block a user