Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

SessionRequestHandler

Describes SessionRequestHandler in Optimizely Configured Commerce.

OrderHandlerDescription
500GetPunchOutSessionUses the Parameter.PunchOutSessionId to lookup the PunchOutSession from the PunchOutSession repository.
600CreatePunchOutSessionAccessCreates new PunchOutSessionAccess.
700SetUserAsAuthenticatedUses the IAuthenticationService to set the PunchOutSession.UserProfile as authenticated.
800SetSiteContextUses the ISiteContextService to set the SiteContext BillTo, ShipTo, and Currency.
900CreateRedirectUrlCreates a RedirectUrl and sets it to the result.