multisafepay / magento2-order-save-inspector
Debug when the order is being saved
Installs: 389
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- ext-json: *
- magento/framework: ^102.0|^103.0
- magento/module-sales: ^102.0|^103.0
- multisafepay/magento2-core: ^2.20|^3
This package is auto-updated.
Last update: 2024-10-25 10:27:03 UTC
README
Order Save Inspector by MultiSafepay
General information
This module is created as an example of how to properly debug issues related with race conditions which occur when multiple processes try to save the order. This module is not considered as a perfect solution that will always work in every case. Please use with caution. Always test on a staging environment first, before moving this over to production. When using in production, please keep in mind that this module will write a lot of log lines when activated. We therefore recommend to immediately deactivate this as soon as the issue has occurred and has been properly logged.
This module will probably not give an immediate answer to your problem, but will hopefully bring you a step closer to finding the cause of it.
Installation
This module can be installed via composer:
composer require multisafepay/magento2-order-save-inspector
Alternatively, this can also be installed through downloading the zip package and unpacking the contents to the app/code/MultiSafepay/OrderSaveInspector directory
Next, enable the module:
bin/magento module:enable MultiSafepay_OrderSaveInspector
Configuration
To activate the feature, go to Stores > Configuration > MultiSafepay > Order Save Inspector > Enabled and Set the value to Yes.
You can also change the maximum depth to configure how deep you want the debugger to log the backtrace. We recommend to only change this when the default value does not go far enough as logging a lot of lines can impact the performance of your store.
Support
You can create issues on our repository. If you need any additional help or support, please contact integration@multisafepay.com
We are also available on our Magento Slack channel #multisafepay-payments. Feel free to start a conversation or provide suggestions as to how we can refine our Magento 2 plugin.
License
Open Software License (OSL 3.0)
Contributors
Special thanks to @hostep for providing us with the original source code.