Charges
[% IF message %]Your payment of $[% message_value | html %] has been processed successfully!
[% ELSIF message == 'duplicate_payment' %]A payment with the transaction id '[% message_value | html %]' has already been posted to an account.
Please contact a librarian for details.
[% ELSIF message == 'invalid_payment' %]The transaction id '[% message_value | html %]' for this payment is invalid.
Please contact a librarian for details.
[% END %]Error: there was a problem processing your payment
Payment applied: your payment of [% payment | html %] has been applied to your account