TPac; credit card payment "Processing..." page
authorBill Erickson <berick@esilibrary.com>
Mon, 21 Nov 2011 20:47:37 +0000 (15:47 -0500)
committerBill Erickson <berick@esilibrary.com>
Wed, 21 Mar 2012 13:13:53 +0000 (09:13 -0400)
commite3fc909fd6115d5b005b5efa583bf290717a5065
tree43a474d4567faab3f43cc4e736b1512db3b5f2e5
parent3d626e7fd24a64e8938c516dab2631ce6190e902
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>
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