close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

New order replaces old in admin suite

Thread began 11/02/2010 9:00 am by dallySP | Last modified 11/02/2010 6:26 pm by Jason Byrnes | 630 views | 3 replies |

dallySP

New order replaces old in admin suite

He there, I urgently need to resolve this issue. I've got a couple of carts live at the moment and have found that if a customer places an order on say 2 consecutive days the second order replaces the first in the admin suite. I'm guessing I need to clear sessions somewhere along the line. One site is payments standard and the other is payments pro.
The other issue I have is that when someone selects and pays with the express checkout option, their delivery address details are being stored in the database, but not their names. the value that is being stored in the database on the pp_confirm.php page is this: <?php echo ((isset($_POST["shipping_firstname"]))?$_POST["shipping_firstname"]:""); ?>.
Is this correct?

Sign in to reply to this post

Jason ByrnesWebAssist

add this code at the end of the success page after the closing </html> tag:

php:
<?php

// Initialize the session.
// If you are using session_name("something"), don't forget it now!
@session_start();

// Unset all of the session variables.
$_SESSION = array();

// If it's desired to kill the session, also delete the session cookie.
// Note: This will destroy the session, and not just the session data!
if (ini_get("session.use_cookies")) {
    
$params session_get_cookie_params();
    @
setcookie(session_name(), ''time() - 42000,
        
$params["path"], $params["domain"],
        
$params["secure"], $params["httponly"]
    );
}

// Finally, destroy the session.
session_destroy();
?>





I would need to see a copy of your pp_confirm page for the shipping name issue.

Sign in to reply to this post

dallySP

Actually thats great - thanks.

I spoke to the customer who placed the order with express checkout and they didn't give their name or other details whilst on their paypal account which seems odd, but I don't suppose there's much we can do about that? It hasn't happened before so I'll just keep an eye on it.

Sign in to reply to this post

Jason ByrnesWebAssist

OK, you're welcome.

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...