Hi all,
I've got some random issue with my Magento 2.3.5-p2.
I migrate from 1.9.x to 2.3.4 and then upgraded to 2.3.5-p2.
Addons Installed:
- M2ePro
- Stripe
- Amasty Product Grid
The issues:
some times when a user place an order and pay via Paypal, he receive back an error but payment was fine for Paypal and deduct from his account.
so I took look to system.log:
[2020-10-06 08:17:12] main.CRITICAL: Exception message: The order wasn't placed. First, agree to the terms and conditions, then try placing your order again. Trace: <pre>#1 Magento\Paypal\Controller\Express\PlaceOrder\Interceptor->execute() called at [vendor/magento/framework/App/Action/Action.php:108] #2 Magento\Framework\App\Action\Action->dispatch(&Magento\Framework\App\Request\Http#0000000043a40d2600000000737f6c54#) called at [vendor/magento/framework/Interception/Interceptor.php:58] #3 Magento\Paypal\Controller\Express\PlaceOrder\Interceptor->___callParent('dispatch', array(&Magento\Framework\App\Request\Http#0000000043a40d2600000000737f6c54#)) called at [vendor/magento/framework/Interception/Interceptor.php:138] #4 Magento\Paypal\Controller\Express\PlaceOrder\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#0000000043a40d2600000000737f6c54#) called at [vendor/magento/framework/Interception/Interceptor.php:153] #5 Magento\Paypal\Controller\Express\PlaceOrder\Interceptor->___callPlugins('dispatch', array(&Magento\Framework\App\Request\Http#0000000043a40d2600000000737f6c54#), array(array('designLoader', 'customerNotifica...', 'catalog_app_acti...', 'tax-app-action-d...', 'weee-app-action-...', 'storeCheck', 'contextPlugin', 'customer-app-act...'))) called at [generated/code/Magento/Paypal/Controller/Express/PlaceOrder/Interceptor.php:104] #6 Magento\Paypal\Controller\Express\PlaceOrder\Interceptor->dispatch(&Magento\Framework\App\Request\Http#0000000043a40d2600000000737f6c54#) called at [vendor/magento/framework/App/FrontController.php:162] #7 Magento\Framework\App\FrontController->processRequest(&Magento\Framework\App\Request\Http#0000000043a40d2600000000737f6c54#, &Magento\Paypal\Controller\Express\PlaceOrder\Interceptor#0000000043a40ef700000000737f6c54#) called at [vendor/magento/framework/App/FrontController.php:98] #8 Magento\Framework\App\FrontController->dispatch(&Magento\Framework\App\Request\Http#0000000043a40d2600000000737f6c54#) called at [vendor/magento/framework/Interception/Interceptor.php:58] #9 Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', array(&Magento\Framework\App\Request\Http#0000000043a40d2600000000737f6c54#)) called at [vendor/magento/framework/Interception/Interceptor.php:138] #10 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#0000000043a40d2600000000737f6c54#) called at [vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php:99] #11 Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(&Magento\Framework\App\FrontController\Interceptor#0000000043a40cf800000000737f6c54#, &Closure#0000000043a40c6400000000737f6c54#, &Magento\Framework\App\Request\Http#0000000043a40d2600000000737f6c54#) called at [vendor/magento/framework/Interception/Interceptor.php:135] #12 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#0000000043a40d2600000000737f6c54#) called at [vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php:73] #13 Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(&Magento\Framework\App\FrontController\Interceptor#0000000043a40cf800000000737f6c54#, &Closure#0000000043a40c6400000000737f6c54#, &Magento\Framework\App\Request\Http#0000000043a40d2600000000737f6c54#) called at [vendor/magento/framework/Interception/Interceptor.php:135] #14 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#0000000043a40d2600000000737f6c54#) called at [vendor/magento/framework/Interception/Interceptor.php:153] #15 Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', array(&Magento\Framework\App\Request\Http#0000000043a40d2600000000737f6c54#), NULL) called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:26] #16 Magento\Framework\App\FrontController\Interceptor->dispatch(&Magento\Framework\App\Request\Http#0000000043a40d2600000000737f6c54#) called at [vendor/magento/framework/App/Http.php:116] #17 Magento\Framework\App\Http->launch() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:24] #18 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:261] #19 Magento\Framework\App\Bootstrap->run(&Magento\Framework\App\Http\Interceptor#0000000043a40d3500000000737f6c54#) called at [index.php:39] </pre> [] [] [2020-10-06 08:17:23] main.CRITICAL: Exception message: Notice: Undefined index: casio bag sa in /var/www/sites/public_html/vendor/magento/module-inventory-source-selection-api/Model/Algorithms/Result/GetDefaultSortedSourcesResult.php on line 127 Trace: <pre>#1 Magento\InventorySourceSelectionApi\Model\Algorithms\Result\GetDefaultSortedSourcesResult->execute(&Magento\InventorySourceSelection\Model\Request\InventoryRequest#00000000043da5190000000077ff32a3#, array(&Magento\Inventory\Model\Source#00000000043da1660000000077ff32a3#)) called at [vendor/magento/module-inventory-source-selection/Model/Algorithms/PriorityBasedAlgorithm.php:73] #2 Magento\InventorySourceSelection\Model\Algorithms\PriorityBasedAlgorithm->execute(&Magento\InventorySourceSelection\Model\Request\InventoryRequest#00000000043da5190000000077ff32a3#) called at [vendor/magento/module-inventory-source-selection-api/Model/SourceSelectionService.php:61] #3 Magento\InventorySourceSelectionApi\Model\SourceSelectionService->execute(&Magento\InventorySourceSelection\Model\Request\InventoryRequest#00000000043da5190000000077ff32a3#, 'priority') called at [vendor/ampersand/magento2-disable-stock-reservation/src/Model/GetSourceSelectionResultFromOrder.php:89] #4 Ampersand\DisableStockReservation\Model\GetSourceSelectionResultFromOrder->execute(&Magento\Sales\Model\Order\Interceptor#00000000043da3890000000077ff32a3#) called at [vendor/ampersand/magento2-disable-stock-reservation/src/Plugin/SourceDeductionProcessor.php:95] #5 Ampersand\DisableStockReservation\Plugin\SourceDeductionProcessor->afterPlace(&Magento\Sales\Model\Service\OrderService\Interceptor#00000000043daf7a0000000077ff32a3#, &Magento\Sales\Model\Order\Interceptor#00000000043da3890000000077ff32a3#, &Magento\Sales\Model\Order\Interceptor#00000000043da3890000000077ff32a3#) called at [vendor/magento/framework/Interception/Interceptor.php:146] #6 Magento\Sales\Model\Service\OrderService\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Sales\Model\Order\Interceptor#00000000043da3890000000077ff32a3#) called at [vendor/magento/framework/Interception/Interceptor.php:153] #7 Magento\Sales\Model\Service\OrderService\Interceptor->___callPlugins('place', array(&Magento\Sales\Model\Order\Interceptor#00000000043da3890000000077ff32a3#), array(array('coupon_uses_incr...'))) called at [generated/code/Magento/Sales/Model/Service/OrderService/Interceptor.php:117] #8 Magento\Sales\Model\Service\OrderService\Interceptor->place(&Magento\Sales\Model\Order\Interceptor#00000000043da3890000000077ff32a3#) called at [vendor/magento/module-quote/Model/QuoteManagement.php:563] #9 Magento\Quote\Model\QuoteManagement->submitQuote(&Magento\Quote\Model\Quote\Interceptor#00000000043da0ec0000000077ff32a3#, array()) called at [vendor/magento/module-quote/Model/QuoteManagement.php:453] #10 Magento\Quote\Model\QuoteManagement->submit(&Magento\Quote\Model\Quote\Interceptor#00000000043da0ec0000000077ff32a3#, array()) called at [vendor/magento/framework/Interception/Interceptor.php:58] #11 Magento\Quote\Model\QuoteManagement\Interceptor->___callParent('submit', array(&Magento\Quote\Model\Quote\Interceptor#00000000043da0ec0000000077ff32a3#, array())) called at [vendor/magento/framework/Interception/Interceptor.php:138] #12 Magento\Quote\Model\QuoteManagement\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Quote\Model\Quote\Interceptor#00000000043da0ec0000000077ff32a3#) called at [vendor/magento/framework/Interception/Interceptor.php:153] #13 Magento\Quote\Model\QuoteManagement\Interceptor->___callPlugins('submit', array(&Magento\Quote\Model\Quote\Interceptor#00000000043da0ec0000000077ff32a3#), array(array('disable_quote_ad...'))) called at [generated/code/Magento/Quote/Model/QuoteManagement/Interceptor.php:91] #14 Magento\Quote\Model\QuoteManagement\Interceptor->submit(&Magento\Quote\Model\Quote\Interceptor#00000000043da0ec0000000077ff32a3#) called at [vendor/magento/module-paypal/Model/Express/Checkout.php:808] #15 Magento\Paypal\Model\Express\Checkout->place('EC-82500173PN186...') called at [vendor/magento/module-paypal/Controller/Express/AbstractExpress/PlaceOrder.php:98] #16 Magento\Paypal\Controller\Express\AbstractExpress\PlaceOrder->execute() called at [generated/code/Magento/Paypal/Controller/Express/PlaceOrder/Interceptor.php:24] #17 Magento\Paypal\Controller\Express\PlaceOrder\Interceptor->execute() called at [vendor/magento/framework/App/Action/Action.php:108] #18 Magento\Framework\App\Action\Action->dispatch(&Magento\Framework\App\Request\Http#00000000043da8040000000077ff32a3#) called at [vendor/magento/framework/Interception/Interceptor.php:58] #19 Magento\Paypal\Controller\Express\PlaceOrder\Interceptor->___callParent('dispatch', array(&Magento\Framework\App\Request\Http#00000000043da8040000000077ff32a3#)) called at [vendor/magento/framework/Interception/Interceptor.php:138] #20 Magento\Paypal\Controller\Express\PlaceOrder\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#00000000043da8040000000077ff32a3#) called at [vendor/magento/framework/Interception/Interceptor.php:153] #21 Magento\Paypal\Controller\Express\PlaceOrder\Interceptor->___callPlugins('dispatch', array(&Magento\Framework\App\Request\Http#00000000043da8040000000077ff32a3#), array(array('designLoader', 'customerNotifica...', 'catalog_app_acti...', 'tax-app-action-d...', 'weee-app-action-...', 'storeCheck', 'contextPlugin', 'customer-app-act...'))) called at [generated/code/Magento/Paypal/Controller/Express/PlaceOrder/Interceptor.php:104] #22 Magento\Paypal\Controller\Express\PlaceOrder\Interceptor->dispatch(&Magento\Framework\App\Request\Http#00000000043da8040000000077ff32a3#) called at [vendor/magento/framework/App/FrontController.php:162] #23 Magento\Framework\App\FrontController->processRequest(&Magento\Framework\App\Request\Http#00000000043da8040000000077ff32a3#, &Magento\Paypal\Controller\Express\PlaceOrder\Interceptor#00000000043dabd50000000077ff32a3#) called at [vendor/magento/framework/App/FrontController.php:98] #24 Magento\Framework\App\FrontController->dispatch(&Magento\Framework\App\Request\Http#00000000043da8040000000077ff32a3#) called at [vendor/magento/framework/Interception/Interceptor.php:58] #25 Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', array(&Magento\Framework\App\Request\Http#00000000043da8040000000077ff32a3#)) called at [vendor/magento/framework/Interception/Interceptor.php:138] #26 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#00000000043da8040000000077ff32a3#) called at [vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php:99] #27 Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(&Magento\Framework\App\FrontController\Interceptor#00000000043da9da0000000077ff32a3#, &Closure#00000000043da9460000000077ff32a3#, &Magento\Framework\App\Request\Http#00000000043da8040000000077ff32a3#) called at [vendor/magento/framework/Interception/Interceptor.php:135] #28 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#00000000043da8040000000077ff32a3#) called at [vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php:73] #29 Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(&Magento\Framework\App\FrontController\Interceptor#00000000043da9da0000000077ff32a3#, &Closure#00000000043da9460000000077ff32a3#, &Magento\Framework\App\Request\Http#00000000043da8040000000077ff32a3#) called at [vendor/magento/framework/Interception/Interceptor.php:135] #30 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#00000000043da8040000000077ff32a3#) called at [vendor/magento/framework/Interception/Interceptor.php:153] #31 Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', array(&Magento\Framework\App\Request\Http#00000000043da8040000000077ff32a3#), NULL) called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:26] #32 Magento\Framework\App\FrontController\Interceptor->dispatch(&Magento\Framework\App\Request\Http#00000000043da8040000000077ff32a3#) called at [vendor/magento/framework/App/Http.php:116] #33 Magento\Framework\App\Http->launch() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:24] #34 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:261] #35 Magento\Framework\App\Bootstrap->run(&Magento\Framework\App\Http\Interceptor#00000000043da8170000000077ff32a3#) called at [index.php:39] </pre> [] []
I suppose that something happened with Paypal,
On Magento Dashboard order was created but with this errror:
The order confirmation email was not sent
is there anyone experiencing something like this?
cheers