MultiSafepay / Magento2Msp

MultiSafepay plugin for Magento 2 (Deprecated) see: https://github.com/MultiSafepay/magento2
Open Software License 3.0
29 stars 25 forks source link

[BUGFIX] Fixed order item ids missing if an order was placed through … #138

Closed Hexmage closed 3 years ago

Hexmage commented 3 years ago

…adminhtml, graphql, restapi or soapapi

If an order was placed through adminhtml, graphql, restapi or soapapi, the order items would not have ids yet. This normally isn't an issue except for Afterpay (and potentially Klarna) which requires the merchant_item_id to be set. This is caused by the order not having been saved yet, which is the case when you order through the regular frontend.