Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

2.3 Facebook Connect & Oscommerce Login routine


jimmylaz

Recommended Posts

Posted

Having a problem related with building a facebook login routine. The existing contributiions are either for LoginRadius solution which is a paid service past 2500 users and the other was built for sdk 2 with no support for 2.3.1 or fb SDK 3.

 

I've made it as far as building the login app in facebook and having my oscommerce fb login button initiate the fb login and returns data but cannot get the store to login as said user (I have it going back to the login-facebook.php file which returns debug info verifying the fb info and writing to the database.) The customer id's are made in the database but I'm stuck at actually loggin the user into the store. Question is where should I send the redirect_uri parameter and what entries do I have to make in said redirect to initiatie a session with the users data.

 

Thanks in advance.

Posted

@@jimmylaz

 

I've messed with this one a bit and it seems to work pretty well: http://addons.oscommerce.com/info/8509

 

You should be able to get a pretty good idea of what needs to be done from it if you still want to build your own. Also you can look at the login.php page to see how the customers session variables get set when they login to the shop.

Matt

Posted

@@jimmylaz

 

I've messed with this one a bit and it seems to work pretty well: http://addons.oscommerce.com/info/8509

 

You should be able to get a pretty good idea of what needs to be done from it if you still want to build your own. Also you can look at the login.php page to see how the customers session variables get set when they login to the shop.

 

Thanks! Just what I needed, worked out the box.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...