Skip to content

Error with loading order via loadByIncrementId #3534

Closed
@Grohotun

Description

@Grohotun

\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.

2016-02-24 19 22 26

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions