Customer Registration

General ShopSite user discussion

Customer Registration

Postby Randy » Fri May 14, 2010 5:51 am

I have a few questions regarding customer registration using the order anywhere feature.

Can I have the customer register on a page the main domain (not the domain shopsite is on)? Will this work Ok on subdomains.

I need to pass data back to the site: in particular, I need to be able to retrieve in a secure way (SSL or encoded link) customer registration data. ShopSite has various API interfaces, are these data available via Web services?

ShopSite Pro provides a standardized API (MiniCart) that shows basic cart data through a cookie. Is this accessible from another sub-domain -- that is, if the shopping cart is hosted on 'store.example.com', is the cookie data available on 'www.example.com'?
Randy
Randy
 
Posts: 3
Joined: Sat Feb 10, 2007 3:13 pm
Location: usa

Postby Jim » Fri May 14, 2010 8:34 am

The customer registration must be done on the domain of the shopping cart. You could have a link to it on another site but it would be done on the shopping cart domain.

There is no api to access all of the customer registration information. You could get some of the information from the OrderAPI that can be run when an order is finalized. See Help for this at http://shopsite.com/help/10.1/en-US/sc/ ... r.api.html There are 2 sample api programs provided with ShopSite called custom-dump.pl or customdump.cgi that you can use to see the information that is available. an out line of the data is provided at http://www.shopsite.com/help/10.1/en-US ... .spec.html

I don't believe that you can read the cookie from a different sub-domain. The cookie that tells if the shopper is logged in would have a name similar to
ss_reg_<serialnumber> where <serialnumber> is the serial number of the store in the store's authorization file.
info about the cart contents is in ss_cart_<serianumber> (note this info is not used for calculations, it is only used for displaying the mini cart.)

I don't have a setup where I can test a subdomain but you can try and see if you can read it if you have such a setup.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to User Forum

Who is online

Users browsing this forum: No registered users and 133 guests