User authentications are handled in login Notification handlers. How to identify different OCI punchout sessions. Does anyone have an experience with this in combination with Dynamicweb
Developer forum
E-mail notifications
OCI (Punch out)
User authentications are handled in login Notification handlers. How to identify different OCI punchout sessions. Does anyone have an experience with this in combination with Dynamicweb
Replies
Hi Dennis,
We've built this functionality 10 years ago, back in the DW8 years.
We solved the user challenge by creating temporary users upon login. We have a generic user for each company integration. Then, upon login, we create a new user (we copy the master user and give it a username), and the entire session is connected to that temporary user. With large companies, we can sometimes have +100 temporary users, but we clean them up once the session ends.
I hope this helps. If you have any trouble with it, we can set up a call with my colleague, and he can probably explain it better code-wise.
Adrian
Check the full cart isolation here
https://doc.dynamicweb.dev/manual/dynamicweb10/settings/areas/commerce/advanced/shoppingcart.html
Hi Nicolai,
But the cart isolation per browser would be applied to the entire solution, not just for the Punchout cart or a specific Area.
In our case, we have a implemented it as a separate Punchout Website with a separate cart flow, on the same solution. And we could not use it (I believe it was not available in DW8 anyway :) )
Adrian
Thank you both for your reply.
In my opinion cart isolation would be te much as it affects the rest of out solution, but i will test the impact in a test setting.
the temporary user would be an option, just to be clear. Orders are not visible in DW on that user. are they not stored in DW at all?
Hi Dennis,
They will be stored in DW, it's just that the User will not exist anymore. But you will have the same CustomerInformation.
Probably, you can also try an impersonation of the main user for every temporary user, but that may complicate the authentication a bit.
This way all orders will be saved on the main user, regardless of the authentication.
Adrian
You must be logged in to post in the forum