Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environment Emulation conflicts with other extensions #9

Open
verus-agency opened this issue Oct 7, 2020 · 0 comments
Open

Environment Emulation conflicts with other extensions #9

verus-agency opened this issue Oct 7, 2020 · 0 comments

Comments

@verus-agency
Copy link

We were having issues with checkout in our Magento CE 2.3.3-p1 build.

  1. Checkout with Affirm: Orders were created in Affirm, but not Magento. Affirm Documentation
  2. Checkout with Zonos: International orders were created in Zonos, but not Magento. Zonos International Checkout: How It Works

Both of these payment methods "leave" Magento to process the order and then "return" to Magento to create the order.
After much tracing, we identified the Stamped extension to be the cause of the issue.
We updated Stamped/Core/Helper/Data.php to comment out the following lines.
// $this->_appEmulation->startEnvironmentEmulation($order->getStoredId(), \Magento\Framework\App\Area::AREA_FRONTEND, true); // $this->_appEmulation->stopEnvironmentEmulation();

Are these lines necessary?
If they are, is there a way you can make sure they do not conflict with checkout payment methods?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant