How to implement 'Payment Processing...Please Wait' page?

Folks,

We are processing payments from our customers and we would like to implement a splash page that the customer is taken to whilst their payment is being processed.

What is the best way to implement this.

At the moment we present two buttons (as images) to our customer, 'I Agree' and 'Cancel'.  If the customer clicks 'I Agree' there is a link to page called v_ps.jsp  which has

<% if (validated)
       - process payment
      else
       - redirect for correction

       if (payment successful)
         redirect to confirmation page
       else
         redirect to error page

%>

with no <body>.

But whilst the user is waiting for the validation and the payment processing, they stay on the  same page as they clicked the 'I Agree' button.  How do I implement a temporary page.

Cheers
Angus

LVL 2
amacfarlAsked:
Who is Participating?
 
bloodredsunConnect With a Mentor Commented:
You can see a similar topic was dealt with recently here:http://www.experts-exchange.com/Web/Web_Languages/JSP/Q_21418677.html

options inclucde: javascript, repeat refrashes and AJAX
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.