Closed sbidoul closed 3 years ago
/ocabot merge minor
This PR has the approved
label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖
Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 13.0-ocabot-merge-pr-45-by-sebastienbeau-bump-minor, awaiting test results.
Congratulations, your PR was merged at 44398a65ee3509b64bfbc8f0bba3d83b2033d5d6. Thanks a lot for contributing to shopinvader. ❤️
The SaleOrderPaymentTransactionEventListener is sometimes called when the transaction is confirmed by a webhook coming from the payment acquirer. We don't want to leak the store_cache to the payment acquirer, so we only set it if we are in a customer session.
To detect that we are in a customer session we check the sess-cart-id HTTP header.
This is part of the collection of ugly patches in this area.