Accessing Customer Registration System

General ShopSite user discussion

Accessing Customer Registration System

Postby bobthebuilder » Fri Oct 09, 2009 2:22 pm

On one of my websites that use ShopSite it relies on the Customer Registration system of ShopSite. We would like to use ShopSite's customer registration system on the rest of the website so that a user only has to log in once. So I want our PHP applications to access the ShopSite database and be able to verify if the user name and password the user entered in is correct.

Is this possible?

It appears passwords are hashed in the database. Is that correct?
bobthebuilder
 
Posts: 35
Joined: Mon Sep 29, 2008 9:36 am

Postby jsherk » Sun Oct 11, 2009 4:07 pm

We have just purchased and setup ShopSite v10 Pro, and this is a good question... can the Customer Database be accessed thru the Order API (or some other API)?

Thanks
jsherk
 
Posts: 41
Joined: Sun Oct 11, 2009 3:19 pm
Location: USA

Postby robm » Sun Oct 11, 2009 9:10 pm

Currently there is not a customer registration API. You can use SQLite to query the actual database, but the passwords are hashed/encrypted, so you cannot compare/use them with an outside application.
robm
 
Posts: 463
Joined: Fri Aug 04, 2006 5:46 pm
Location: Connecticut

Postby jsherk » Sun Oct 11, 2009 9:30 pm

thanks robm (again)!

I am assuming I can use PHP to access the SQLite db and work with it that way (ignoring hashed passwords for now)... I still have quite a bit of setup to do before I move onto that stage, but thanks for the answer!
jsherk
 
Posts: 41
Joined: Sun Oct 11, 2009 3:19 pm
Location: USA

Postby bobthebuilder » Fri Oct 16, 2009 8:08 pm

robm wrote:Currently there is not a customer registration API. You can use SQLite to query the actual database, but the passwords are hashed/encrypted, so you cannot compare/use them with an outside application.


Thanks robm. I was afraid that was going to be the answer. It would be really nice if ShopSite provided an API for accessing the customer registration system, so that we can integrate it in with the rest of the website. In my case, this means our users will need to maintain two sets of login information for our website.
bobthebuilder
 
Posts: 35
Joined: Mon Sep 29, 2008 9:36 am


Return to User Forum

Who is online

Users browsing this forum: No registered users and 105 guests