How to implement 'Payment Processing...Please Wait' page?
Posted on 2005-05-10
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.