Hi,
In our projects we use Impersonation so that a "Login" (real person - i.e. Nuno) can manage an "Account" (i.e. a company - i.e. Dynamicweb North America) and place orders for them.
So far so good as there are multiple "Logins" that can manage "Dynamicweb North America" and see all orders and do everything the same. The curve ball is Saved Credit Cards. We're needing to render "my" Saved Credit Cards, in other words, associated with my user (secondaryUser - the impersonator), instead of the primary user.
Customizing getting the list of cards seems relatively simple in the templates, but I can see that we'd likely need to customize the CheckoutHandlers as well, since there's some logic to get the cards by the (primary) user.
If that is all is takes, that would be "fine", but I wonder if there's anything else I might be missing as well. Or any thoughts on how this could be achieved differentlly.
Best Regards,
Nuno Aguiar