Integrate the SalesIn B2B login / log out into your own website
SalesIn B2B provides a seamless experience for your customers to login from your website.
Please provide the following details to your webmaster / IT guru.
Paste the following code into the place in your website that you want to insert the login controls:
Replace UniqueId with the one found under the Administration > SalesIn B2B Settings area of the SalesIn web application.
The option “Let your customers login from your own website” must be ticked, and your UniqueId will be shown.
Extra Functionality (optional)
When the user logs out, they will be returned to your site with a query string parameter; LogoutReason.
This will have one of the following values that you can handle and display to the user a relevant message, if you like:
0 – User deliberately logged out of SalesIn B2B by clicking the logout button
1 – The user’s session was timed out and they were forced to log out
2 – The login failed due to internal error reasons, contact SalesIn support if this ever happens; but the user won’t want details of this error.