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
[% IF payment_error == "PAYPAL_UNABLE_TO_CONNECT" %]Unable to connect to PayPal.
Please contact a librarian to verify your payment.
[% ELSIF payment_error == "PAYPAL_ERROR_PROCESSING" %]Unable to verify payment.
Please contact a librarian to verify your payment.
[% END %]Payment applied: your payment of [% payment | html %] has been applied to your account