VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Erratic adding of customerIDs for customer?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

5 Posts

Posted - December 19 2005 :  09:25:23  Show Profile  Reply with Quote
Does anyone know why the shopping cart would erratically create an additional customerid for a customer during checkout? (Further, this customerid has a blank password while the original customer ID has the password field filled with the correct data.)

Is the answer to the question impacted at all by the fact that I use an authorze.net gateway?

If this is a common issue, is there a way to prevent these new customers from being added, but rather to have the order connected to the original customerID?

This question is much more simple restatement of my topic:


Thanks, Bruce

Solution: The situation was caused by our session variables being dropped when we moved from some custom data entry forms we were using into shopaddtocart.asp. The following code, added to shopaddtocart.asp resolved our issue:

[main logic at top of shopcustomer.asp]. . .

if sError = "" Then
UpdateOrderInformation ' put in customer and order data
SetSess "Login",strlastname
responseredirect GetSess("FollowonURL")

'[CUSTOMIZATION] In case we come from a custom form, the application 'seems to lose it's customerid session variable during the following 'sub UpdateCustomerSessionData. If session var exists, store in 'temporary variable and put back afterwards.

dim tempSessionCustromerID

If Len(GetSess("CustomerId")) > 0 then
tempSessionCustromerID = GetSess("CustomerId")
End if


If Len(tempSessionCustromerID) > 0 then
SetSess "CustomerId", tempSessionCustromerID
End if
'[End of customization]

end if
end if
' End of main logic

Edited by - rapidlaw on January 27 2006 08:50:11
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000