You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @Grohotun, we cannot reproduce your issue.
For properly data retrieving you should use \Magento\Sales\Model\OrderRepository::getList(\Magento\Framework\Api\SearchCriteria $searchCriteria) and Magento\Framework\Api\SearchCriteriaBuilder
\Magento\Sales\Model\OrderFactory $orderFactory
$order = $this->_orderFactory->create()->loadByIncrementId(000000013)
echo $order->getId();
returns 11 (but not 13)
But in sales_order - all is good.
If echo $order->getPayment()->getMethodInstance()->getCode() - result is 'substitution' - method, which was never used.
The text was updated successfully, but these errors were encountered: