
01-12-2012, 03:36 PM
|
 |
Senior Member
|
|
Join Date: Jan 2011
Location: Ecwid headquarters
Posts: 7,765
|
|
No, Single Sign-On API of Ecwid is suited for another purpose: if your site manages its own login system for your visitors, you might want to allow them login with the site and be automatically logged in to Ecwid shop with the same name - this is what SSO API allows to do. It tells Ecwid if a visitor of your site is already logged in with the login system provided by your site.
In your case, to react to the events when a customer has been signed i to Ecwid, I would recommend studying the JavaScript API instead: it has an event OnSetProfile, which happens, when a customer is being logged in or out of his/her Ecwid account. You can send the necessary requests to any 3rd party systems upon this event, including the details like phone numbers.
|