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


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
       - redirect for correction

       if (payment successful)
         redirect to confirmation page
         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.


Who is Participating?
bloodredsunConnect With a Mentor Commented:
You can see a similar topic was dealt with recently here:

options inclucde: javascript, repeat refrashes and AJAX
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.