diff --git a/server-ca/payment.py b/server-ca/payment.py index dd35cec6c..52ffa28a6 100755 --- a/server-ca/payment.py +++ b/server-ca/payment.py @@ -36,8 +36,10 @@ class payment(object): if r.hget(session, "state") != "payment": return "Attempt to process payment for session not expecting it." r.publish("payments", session) + names = r.lrange("%s:names" % session, 0, -1) + names_list = '' with open("thanks.html","r") as f: - return f.read() % session + return f.read() % (session, names) if __name__ == "__main__": app = web.application(urls, globals()) diff --git a/server-ca/thanks.html b/server-ca/thanks.html index 5a439e6e6..8ba30e48e 100644 --- a/server-ca/thanks.html +++ b/server-ca/thanks.html @@ -33,7 +33,10 @@

Thanks for your payment!

You successfully processed a credit card payment of 17.00 simoleons for the - issuance of a digital certificate.

This payment relates to session ID %s.

+ issuance of a digital certificate.

This payment relates to session ID %s, which + requested a certificate for the following names:

+

+ %s