[thelist] Designing for the delay in live credit card verification
sbeam
sbeam at onsetcorps.net
Wed Feb 22 17:21:13 CST 2006
On Wednesday 22 February 2006 11:26 am, Bird, Graham wrote:
> 1. include some text that warns of a potential delay and disable the
> submit button with javascript to prevent multiple clicks
> 2. show an intermediary "processing" page
> 3. both of the above
>
> Has anyone had to do this? If so, what solution did you come up with?
>
one trick is to output the header of the next page immediately -- before
you send the query to the payment processor. The browser should show
the "top" of the page, and the user will just wait patiently for the
page to load.
You can even put a "please wait" message in a <div> and then use JS to
hide the DIV when the page load completes.
Purists may argue about this hack I guess. But its been done pretty
often. And its effective, even if JS is disabled.
--
# S Beam - Web App Dev Servs
# http://www.onsetcorps.net/
More information about the thelist
mailing list