-
Notifications
You must be signed in to change notification settings - Fork 0
/
receipt-tribute.html
46 lines (29 loc) · 1.02 KB
/
receipt-tribute.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{% extends "base.html" %}
{% load humanize %}
{% block title %}Receipt{% endblock %}
{% block content %}
{% if response_code == 1 %}
<h2>Receipt</h2>
<p>Thank you! Your registration has been entered
and your payment of ${{ amount|intcomma }} has been received.</p>
<p>Card: {{ card_type }}
<br>Authorization Code: {{ auth_code }}</p>
{% if email %}
<p>A copy of this receipt has been mailed to you at {{ email }}.</p>
{% endif %}
{% elif response_code == 2 %}
<h2>Error</h2>
<p>Sorry, your payment of ${{ amount|intcomma }} could not be processed:
{{ reason_text }}
(Error code {{ response_code }}-{{ reason_code }}.)</p>
<p>Please contact <a href="mailto:[email protected]">[email protected]</a>
for assistance.</p>
{% else %}
<h2>Error</h2>
<p>Sorry, there was a problem with your payment:
{{ reason_text }}
(Error code {{ response_code }}-{{ reason_code }}.)</p>
<p>Please contact <a href="mailto:[email protected]">[email protected]</a>
for assistance.</p>
{% endif %}
{% endblock %}