problem with a check-out button

G

Guest

Hi,
I have a cart page where I show the selected products and the user must
click on a check-out button.
When the user clicks the check-out button the program have to hide the panel
with the selected products and show a panel with the "thanks for buying"
message (and save the data in the database).
The problem is that when the user clicks the check-out button for the first
time the program saves the data in the database but it doesn't hide the
panel with the selected products and it doesn't show the panel with the
"thanks for buying" message.
But when the user clicks the check-out button for the second time the
program saves the data again (now just save blanks records because the cart
was deleted) and now the panels works ok, it hides the panel with the
selected products and it shows the panel with the "thanks for buying"
message.
I don't why this happen.
Any help?
TIA
Regards,
Marcelo.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top