Impersonation is ignored after one purchase is completed
ID: 1003545
Backlog
Published on 3/20/2024
•
Last update on 3/20/2024
Summary
When a call center operator impersonates a shopper, completes a purchase and is sent to the orderPlaced page, a new orderForm will be generated.
This new orderForm will have its clientProfileData attachment with the call center operator's email instead of the impersonated shopper, even though the impersonation data is persisted normally within the Session.
Simulation
- Log into the myvtex environment as a call center operator.
- Impersonate a shopper and complete a purchase.
- Afterwards, while still impersonating the user, begin a new purchase, and note how the cart data will contain your call center operator's email within clientProfileData.
Workaround
If you need to create more than one order for the same shopper, make sure to redo the impersonation process in-between orders.