[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE KohaDates %] [% USE AuthorisedValues %] [% USE Price %] [% SET ENABLE_OPAC_PAYMENTS = Koha.Preference('EnablePayPalOpacPayments') || plugins %] [% SET DISPLAY_PAYMENT_BLOCK = 0 %] [% INCLUDE 'doc-head-open.inc' %] [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog › Your charges [% INCLUDE 'doc-head-close.inc' %] [% BLOCK cssinclude %] [% Asset.css("css/datatables.css") | $raw %] [% END %] [% INCLUDE 'bodytag.inc' bodyid='opac-account' bodyclass='scrollto' %] [% INCLUDE 'masthead.inc' %]
[% IF message %]
[% IF message == 'valid_payment' %]

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 %]
[% END %] [% IF payment_error %]

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 %]
[% ELSIF payment %]

Payment applied: your payment of [% payment | html %] has been applied to your account

[% END %]

Charges

[% PROCESS 'account-table.inc' ACCOUNT_LINES = ACCOUNT_LINES, ENABLE_OPAC_PAYMENTS = ENABLE_OPAC_PAYMENTS, plugins = plugins %]
[% INCLUDE 'opac-bottom.inc' %] [% BLOCK jsinclude %] [% INCLUDE 'datatables.inc' %] [% END %]