[% IF message %]
[% IF message == 'valid_payment' %]
[% END %]
Your payment of $[% message_value %] has been processed sucessfully!
[% ELSIF message == 'duplicate_payment' %]A payment with the transaction id [% message_value %] has already been posted to an account.
Please contact a librarian for details.
[% ELSIF message == 'invalid_payment' %]The transaction id [% message_value %] for this payment is invalid.
Please contact a librarian for details.
[% END %]