]> git.evergreen-ils.org Git - Evergreen.git/commit
TPac; credit card payment "Processing..." page
authorBill Erickson <berick@esilibrary.com>
Mon, 21 Nov 2011 20:47:37 +0000 (15:47 -0500)
committerMike Rylander <mrylander@gmail.com>
Wed, 21 Mar 2012 13:56:56 +0000 (09:56 -0400)
commit40883394783ca36c40bf4069d64c3072279d0cd9
tree43a474d4567faab3f43cc4e736b1512db3b5f2e5
parent4717c4312a9db8ff59bfb810be620dec75afbe58
TPac; credit card payment "Processing..." page

To prevent impatient patrons from re-submitting credit card payment
request forms, insert a Processing... page between the initial form
submission and the actual payment processing.

Steps 3-5 are new or modified.

1. User selects transactions to pay
2. User fills in payment form and Submits
3. Payment form data is cached in memcache with a temporary token
4. Processing page is displayed with message about how processing the
   payment can take time, do not refresh, etc.
5. Page is refreshed via http meta refresh to submit the form using
   the temp token.  The page is not visibly changed, though, since it
   takes time for the form submission to begin returning data.
6. User is directed to the payment results page.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm
Open-ILS/src/templates/opac/myopac/main_pay.tt2
Open-ILS/src/templates/opac/myopac/main_pay_init.tt2 [new file with mode: 0644]
Open-ILS/src/templates/opac/myopac/main_payment_form.tt2
Open-ILS/web/css/skin/default/opac/style.css