we have an extension that has a registration module built as a part of a form that also does other stuff. registration is handled by Commerce API in the back-end model.
at times, I've noticed that the customer's internalid is fetched as blank even though the user is already logged in (after executing the registerCustomer() Commerce API method)
i also noticed that in such scenarios, even though the user is recognized (it shows the Hi, User message on the web-store at the top right), when I try to go to My Account, it redirects me to the Login/Register page
is this an issue? or just standard behavior in certain cases.