Add PayPal templates from PgEU
authorSarah Conway <sarah.conway@crunchydata.com>
Thu, 18 Oct 2018 10:30:52 +0000 (03:30 -0700)
committerSarah Conway <sarah.conway@crunchydata.com>
Thu, 18 Oct 2018 10:31:09 +0000 (03:31 -0700)
template/paypal/error.html [new file with mode: 0644]
template/paypal/noinvoice.html [new file with mode: 0644]

diff --git a/template/paypal/error.html b/template/paypal/error.html
new file mode 100644 (file)
index 0000000..5ebceb1
--- /dev/null
@@ -0,0 +1,23 @@
+{%extends "navbase.html"%}
+{%block title%}Paypal error{%endblock%}
+{%block content%}
+<h1>Paypal error</h1>
+<p>
+An error occurred when processing your payment details from PayPal:
+</p>
+
+<p><i>{{reason}}</i></p>
+
+<p>
+This may represent a transient issue, in which case there is
+no need for you to do anything. Your payment will be processed
+in the background within a few hours.
+</p>
+
+<p>
+If this has not happened, or the error above indicates this is a
+permanent problem, please email &lt;treasurer at pgdu dot org&gt;
+with the error message above and the full URL of this page (including
+all parameters), and we'll review the transaction as soon as possible.
+</p>
+{%endblock%}
diff --git a/template/paypal/noinvoice.html b/template/paypal/noinvoice.html
new file mode 100644 (file)
index 0000000..8a6ae62
--- /dev/null
@@ -0,0 +1,22 @@
+{%extends "navbase.html"%}
+{%block title%}Paypal payment completed{%endblock%}
+
+{%block content%}
+<h1>Paypal payment completed</h1>
+<p>
+We have received your payment, but were unable to match it to an invoice.
+If this was donation, or another payment not related to an invoice,
+<b>you don't need to do anything</b>.
+</p>
+
+<p>
+However, if this <b>was the payment for an invoice</b>, something has gone
+wrong in the processing, and our systems were unable to find the details.
+Normally your invoice payment will now be processed by our background systems
+within a few hours, and you will receive a receipt by email. If you
+<i>do not</i> receive such an email within 24 hours, please contact
+&lt;treasurer at pgdu dot org&gt;, citing your PayPal transaction id
+and the invoice number of the invoice you were trying to pay, and we'll
+process the payment manually as quickly as we can.
+</p>
+{%endblock%}