close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Duplicate Orders

Thread began 2/02/2011 4:35 pm by adam106173 | Last modified 2/07/2011 2:45 pm by Jason Byrnes | 933 views | 3 replies |

adam106173

Duplicate Orders

Hello,

One of my sites has starting duplicating orders on a regular basis. We had a customer specifically email us to tell what had happened. She said she submitted the order from confirm.php page, and was returned to the same page, where she hit submit again. Both orders went through. So she was not redirected to the order success page. I assume this is what has been happening with all the other duplicate orders. But it doesn't happen every time.

I recently had a problem come up where the checkout page somehow got extra code added that put the site into sandbox mode. You helped me fix that. I wonder if something happened to this page as well. Here is that thread: showthread.php?t=18119

I've attached the confirm.php page here.

Just got more information. This is what the customer also told us of her experience - "I never received confirmation on the website – it looked like some kind of hiccup loop. But I did get an email receipt after I wrote to you – just one, though." Two orders did go into payPay even though she got only one receipt.

Adam

Attached Files
confirm.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

if the confirm page is not directing to the success page on the order success, it sounds like there is a php error happening that is preventing the redirect.

add the following code at line 1 of the confirm page to turn error reporting on:

php:
<?php 

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>



can you reproduce the problem?

If a php error is occurring, then is should show at the top of the confirm page.

Sign in to reply to this post

adam106173

The error is very intermittent. I can't reproduce it, though it's happened about a dozen times in the last few weeks. I'm not sure what to do.

Sign in to reply to this post

Jason ByrnesWebAssist

Without being able to reproduce the problem, it is impossible to troubleshoot the cause.

Start by adding the error reporting code, and adding a message next to the submit order button to warn customers not click the button a second time if not redirected.

if they are not redirected, the error reporting code should show a php error, it should also be recorded in the servers error log. If you know the day and time of some of the duplicate orders, you could contact the host to see if they can give you access to the server error log to see what is going wrong. This could give some information to work from.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...