Your payment of $[% message_value %] has been processed successfully!
[% 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 %]Error: there was an 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 %] has been applied to your account