Magento 2 - sales_order_place_after not returning Order IDUnable to get order by increment id in observerExecuting Custom script after placing the order successfully magento 2observer method sales_order_place_after not executingHow to obtain a JSON order rendered by the REST API in the sales_order_place_after event observerModifying product options on “sales_order_place_after” event : modifications unsaved?Magento add custom options to cartPaypal Express sales_order_place_afterSet custom price of product when adding to cart code not workingMagento sales_order_place_after event not workingHow to get order data from sales_order_shipment_save_after eventsales_order_place_after not triggering in magento 2Magento 2: I Want to add multiple product using checkbox

Would this string work as string?

Can you identify this lizard-like creature I observed in the UK?

"Oh no!" in Latin

Why would five hundred and five be same as one?

Do I have to know the General Relativity theory to understand the concept of inertial frame?

How to leave product feedback on macOS?

Limit max CPU usage SQL SERVER with WSRM

Is there a RAID 0 Equivalent for RAM?

What should be the ideal length of sentences in a blog post for ease of reading?

Quoting Keynes in a lecture

Alignment of six matrices

Unable to disable Microsoft Store in domain environment

Isometric embedding of a genus g surface

Review your own paper in Mathematics

How would a solely written language work mechanically

Is there anyway, I can have two passwords for my wi-fi

What is the meaning of the following sentence?

What is the meaning of "You've never met a graph you didn't like?"

Difference between shutdown options

Given this phrasing in the lease, when should I pay my rent?

Why Shazam when there is already Superman?

How were servants to the Kaiser of Imperial Germany treated and where may I find more information on them

How do I Interface a PS/2 Keyboard without Modern Techniques?

Language involving irrational number is not a CFL



Magento 2 - sales_order_place_after not returning Order ID


Unable to get order by increment id in observerExecuting Custom script after placing the order successfully magento 2observer method sales_order_place_after not executingHow to obtain a JSON order rendered by the REST API in the sales_order_place_after event observerModifying product options on “sales_order_place_after” event : modifications unsaved?Magento add custom options to cartPaypal Express sales_order_place_afterSet custom price of product when adding to cart code not workingMagento sales_order_place_after event not workingHow to get order data from sales_order_shipment_save_after eventsales_order_place_after not triggering in magento 2Magento 2: I Want to add multiple product using checkbox













4















I have created an event for sales_order_place_after event.



This doesn't return Order Id. However, it returns Increment ID



public function execute(Observer $observer)

$order = $observer->getEvent()->getOrder();
$order->getIncrementId();
$order->getId();










share|improve this question
























  • Try to dump out the order data var_dump($order->getData())

    – Khoa TruongDinh
    Dec 29 '16 at 10:44











  • No, it is not working .

    – Jancy Abraham
    Dec 29 '16 at 10:50











  • Try to die var_dump($order->getData()); die();.

    – Khoa TruongDinh
    Dec 29 '16 at 11:00












  • Try with $order->getEntityId();

    – Rakesh Jesadiya
    Dec 29 '16 at 11:17






  • 2





    you can use sales_order_save_after event to get order id

    – Rakesh Jesadiya
    Dec 29 '16 at 11:37
















4















I have created an event for sales_order_place_after event.



This doesn't return Order Id. However, it returns Increment ID



public function execute(Observer $observer)

$order = $observer->getEvent()->getOrder();
$order->getIncrementId();
$order->getId();










share|improve this question
























  • Try to dump out the order data var_dump($order->getData())

    – Khoa TruongDinh
    Dec 29 '16 at 10:44











  • No, it is not working .

    – Jancy Abraham
    Dec 29 '16 at 10:50











  • Try to die var_dump($order->getData()); die();.

    – Khoa TruongDinh
    Dec 29 '16 at 11:00












  • Try with $order->getEntityId();

    – Rakesh Jesadiya
    Dec 29 '16 at 11:17






  • 2





    you can use sales_order_save_after event to get order id

    – Rakesh Jesadiya
    Dec 29 '16 at 11:37














4












4








4


1






I have created an event for sales_order_place_after event.



This doesn't return Order Id. However, it returns Increment ID



public function execute(Observer $observer)

$order = $observer->getEvent()->getOrder();
$order->getIncrementId();
$order->getId();










share|improve this question
















I have created an event for sales_order_place_after event.



This doesn't return Order Id. However, it returns Increment ID



public function execute(Observer $observer)

$order = $observer->getEvent()->getOrder();
$order->getIncrementId();
$order->getId();







magento2 event-observer sales-order place-order






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 29 '16 at 10:41







Jancy Abraham

















asked Dec 29 '16 at 10:31









Jancy AbrahamJancy Abraham

1,09111638




1,09111638












  • Try to dump out the order data var_dump($order->getData())

    – Khoa TruongDinh
    Dec 29 '16 at 10:44











  • No, it is not working .

    – Jancy Abraham
    Dec 29 '16 at 10:50











  • Try to die var_dump($order->getData()); die();.

    – Khoa TruongDinh
    Dec 29 '16 at 11:00












  • Try with $order->getEntityId();

    – Rakesh Jesadiya
    Dec 29 '16 at 11:17






  • 2





    you can use sales_order_save_after event to get order id

    – Rakesh Jesadiya
    Dec 29 '16 at 11:37


















  • Try to dump out the order data var_dump($order->getData())

    – Khoa TruongDinh
    Dec 29 '16 at 10:44











  • No, it is not working .

    – Jancy Abraham
    Dec 29 '16 at 10:50











  • Try to die var_dump($order->getData()); die();.

    – Khoa TruongDinh
    Dec 29 '16 at 11:00












  • Try with $order->getEntityId();

    – Rakesh Jesadiya
    Dec 29 '16 at 11:17






  • 2





    you can use sales_order_save_after event to get order id

    – Rakesh Jesadiya
    Dec 29 '16 at 11:37

















Try to dump out the order data var_dump($order->getData())

– Khoa TruongDinh
Dec 29 '16 at 10:44





Try to dump out the order data var_dump($order->getData())

– Khoa TruongDinh
Dec 29 '16 at 10:44













No, it is not working .

– Jancy Abraham
Dec 29 '16 at 10:50





No, it is not working .

– Jancy Abraham
Dec 29 '16 at 10:50













Try to die var_dump($order->getData()); die();.

– Khoa TruongDinh
Dec 29 '16 at 11:00






Try to die var_dump($order->getData()); die();.

– Khoa TruongDinh
Dec 29 '16 at 11:00














Try with $order->getEntityId();

– Rakesh Jesadiya
Dec 29 '16 at 11:17





Try with $order->getEntityId();

– Rakesh Jesadiya
Dec 29 '16 at 11:17




2




2





you can use sales_order_save_after event to get order id

– Rakesh Jesadiya
Dec 29 '16 at 11:37






you can use sales_order_save_after event to get order id

– Rakesh Jesadiya
Dec 29 '16 at 11:37











3 Answers
3






active

oldest

votes


















3














In Magento 2 observer I used this code, you get the order data like this,



use MagentoFrameworkEventObserverInterface;

class YOUROBSERVERCLASS implements ObserverInterface

protected $orderFactory;

public function __construct(MagentoQuoteModelQuoteFactory $quoteFactory,
MagentoSalesModelOrder $orderFactory)

$this->orderFactory = $orderFactory;


public function execute(MagentoFrameworkEventObserver $observer)

$orderIds = $observer->getEvent()->getOrderIds();
$lastorderId = $orderIds[0];

$order = $this->orderFactory->load($lastorderId);







share|improve this answer
































    5














    This is an old question but given I have just faced the same problem myself I thought I would give my take on the answer. sales_order_place_after is triggered before the order is saved to db so at the point your code is running the order entity ID doesn't exist. There are few options to work around this:



    You could use sales_order_save_after which is triggered after the order is actually persisted to db. This will allow you to have access to the order ID. This approach has risks however as it can be triggered again after the order is created. If you only want to run your code only once when the order is first placed, using this observer may have unexpected side effects.



    Alternatively rather than using an observer you could create a plugin around MagentoSalesApiOrderManagementInterface::place. This will allow you to do what I suspect you are trying to do with sales_order_place_after.



    As a rough example your modules etc/di.xml would look something like this:



    <?xml version="1.0"?>
    <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <type name="MagentoSalesApiOrderManagementInterface">
    <plugin name="my-module-order-service" type="MyModulePluginOrderServicePlugin" sortOrder="5"/>
    </type>
    </config>


    And your plugin class like this:



    <?php

    namespace MyModulePlugin;

    class OrderServicePlugin

    public function aroundPlace(MagentoSalesModelServiceOrderService $subject, Closure $proceed, MagentoSalesApiDataOrderInterface $order)

    $return = $proceed($order);

    $orderId = $order->getEntityId();

    // your custom code

    return $return;








    share|improve this answer
































      0














      It is better to avoid around plugin unless necessary . Use after plugin or MagentoSalesApiOrderManagementInterface::place



      etc/di.xml



      <?xml version="1.0" ?>
      <config>
      <type name="MagentoSalesApiOrderManagementInterface">
      <plugin name="MyOrderPlaceAfterPlugin" type="MyModulePluginOrderPlaceAfterPlugin" sortOrder="99" />
      </type>
      </config>


      MyModulePluginOrderPlaceAfterPlugin.php



      //namespace MyModulePluginOrder;

      class PlaceAfterPlugin


      /**
      * @param MagentoSalesApiOrderManagementInterface $orderManagementInterface
      * @param MagentoSalesModelOrderInterceptor $order
      * @return $order
      */
      public function afterPlace(MagentoSalesApiOrderManagementInterface $orderManagementInterface , $order)

      $orderId = $order->getId();

      // do something with order object (Interceptor )

      return $order;







      share|improve this answer






















        Your Answer








        StackExchange.ready(function()
        var channelOptions =
        tags: "".split(" "),
        id: "479"
        ;
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function()
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled)
        StackExchange.using("snippets", function()
        createEditor();
        );

        else
        createEditor();

        );

        function createEditor()
        StackExchange.prepareEditor(
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: false,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: null,
        bindNavPrevention: true,
        postfix: "",
        imageUploader:
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        ,
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        );



        );













        draft saved

        draft discarded


















        StackExchange.ready(
        function ()
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f152350%2fmagento-2-sales-order-place-after-not-returning-order-id%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        3














        In Magento 2 observer I used this code, you get the order data like this,



        use MagentoFrameworkEventObserverInterface;

        class YOUROBSERVERCLASS implements ObserverInterface

        protected $orderFactory;

        public function __construct(MagentoQuoteModelQuoteFactory $quoteFactory,
        MagentoSalesModelOrder $orderFactory)

        $this->orderFactory = $orderFactory;


        public function execute(MagentoFrameworkEventObserver $observer)

        $orderIds = $observer->getEvent()->getOrderIds();
        $lastorderId = $orderIds[0];

        $order = $this->orderFactory->load($lastorderId);







        share|improve this answer





























          3














          In Magento 2 observer I used this code, you get the order data like this,



          use MagentoFrameworkEventObserverInterface;

          class YOUROBSERVERCLASS implements ObserverInterface

          protected $orderFactory;

          public function __construct(MagentoQuoteModelQuoteFactory $quoteFactory,
          MagentoSalesModelOrder $orderFactory)

          $this->orderFactory = $orderFactory;


          public function execute(MagentoFrameworkEventObserver $observer)

          $orderIds = $observer->getEvent()->getOrderIds();
          $lastorderId = $orderIds[0];

          $order = $this->orderFactory->load($lastorderId);







          share|improve this answer



























            3












            3








            3







            In Magento 2 observer I used this code, you get the order data like this,



            use MagentoFrameworkEventObserverInterface;

            class YOUROBSERVERCLASS implements ObserverInterface

            protected $orderFactory;

            public function __construct(MagentoQuoteModelQuoteFactory $quoteFactory,
            MagentoSalesModelOrder $orderFactory)

            $this->orderFactory = $orderFactory;


            public function execute(MagentoFrameworkEventObserver $observer)

            $orderIds = $observer->getEvent()->getOrderIds();
            $lastorderId = $orderIds[0];

            $order = $this->orderFactory->load($lastorderId);







            share|improve this answer















            In Magento 2 observer I used this code, you get the order data like this,



            use MagentoFrameworkEventObserverInterface;

            class YOUROBSERVERCLASS implements ObserverInterface

            protected $orderFactory;

            public function __construct(MagentoQuoteModelQuoteFactory $quoteFactory,
            MagentoSalesModelOrder $orderFactory)

            $this->orderFactory = $orderFactory;


            public function execute(MagentoFrameworkEventObserver $observer)

            $orderIds = $observer->getEvent()->getOrderIds();
            $lastorderId = $orderIds[0];

            $order = $this->orderFactory->load($lastorderId);








            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Dec 1 '17 at 9:55









            amorcian

            33




            33










            answered Dec 29 '16 at 12:46









            Dhiren VasoyaDhiren Vasoya

            4,38551844




            4,38551844























                5














                This is an old question but given I have just faced the same problem myself I thought I would give my take on the answer. sales_order_place_after is triggered before the order is saved to db so at the point your code is running the order entity ID doesn't exist. There are few options to work around this:



                You could use sales_order_save_after which is triggered after the order is actually persisted to db. This will allow you to have access to the order ID. This approach has risks however as it can be triggered again after the order is created. If you only want to run your code only once when the order is first placed, using this observer may have unexpected side effects.



                Alternatively rather than using an observer you could create a plugin around MagentoSalesApiOrderManagementInterface::place. This will allow you to do what I suspect you are trying to do with sales_order_place_after.



                As a rough example your modules etc/di.xml would look something like this:



                <?xml version="1.0"?>
                <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
                <type name="MagentoSalesApiOrderManagementInterface">
                <plugin name="my-module-order-service" type="MyModulePluginOrderServicePlugin" sortOrder="5"/>
                </type>
                </config>


                And your plugin class like this:



                <?php

                namespace MyModulePlugin;

                class OrderServicePlugin

                public function aroundPlace(MagentoSalesModelServiceOrderService $subject, Closure $proceed, MagentoSalesApiDataOrderInterface $order)

                $return = $proceed($order);

                $orderId = $order->getEntityId();

                // your custom code

                return $return;








                share|improve this answer





























                  5














                  This is an old question but given I have just faced the same problem myself I thought I would give my take on the answer. sales_order_place_after is triggered before the order is saved to db so at the point your code is running the order entity ID doesn't exist. There are few options to work around this:



                  You could use sales_order_save_after which is triggered after the order is actually persisted to db. This will allow you to have access to the order ID. This approach has risks however as it can be triggered again after the order is created. If you only want to run your code only once when the order is first placed, using this observer may have unexpected side effects.



                  Alternatively rather than using an observer you could create a plugin around MagentoSalesApiOrderManagementInterface::place. This will allow you to do what I suspect you are trying to do with sales_order_place_after.



                  As a rough example your modules etc/di.xml would look something like this:



                  <?xml version="1.0"?>
                  <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
                  <type name="MagentoSalesApiOrderManagementInterface">
                  <plugin name="my-module-order-service" type="MyModulePluginOrderServicePlugin" sortOrder="5"/>
                  </type>
                  </config>


                  And your plugin class like this:



                  <?php

                  namespace MyModulePlugin;

                  class OrderServicePlugin

                  public function aroundPlace(MagentoSalesModelServiceOrderService $subject, Closure $proceed, MagentoSalesApiDataOrderInterface $order)

                  $return = $proceed($order);

                  $orderId = $order->getEntityId();

                  // your custom code

                  return $return;








                  share|improve this answer



























                    5












                    5








                    5







                    This is an old question but given I have just faced the same problem myself I thought I would give my take on the answer. sales_order_place_after is triggered before the order is saved to db so at the point your code is running the order entity ID doesn't exist. There are few options to work around this:



                    You could use sales_order_save_after which is triggered after the order is actually persisted to db. This will allow you to have access to the order ID. This approach has risks however as it can be triggered again after the order is created. If you only want to run your code only once when the order is first placed, using this observer may have unexpected side effects.



                    Alternatively rather than using an observer you could create a plugin around MagentoSalesApiOrderManagementInterface::place. This will allow you to do what I suspect you are trying to do with sales_order_place_after.



                    As a rough example your modules etc/di.xml would look something like this:



                    <?xml version="1.0"?>
                    <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
                    <type name="MagentoSalesApiOrderManagementInterface">
                    <plugin name="my-module-order-service" type="MyModulePluginOrderServicePlugin" sortOrder="5"/>
                    </type>
                    </config>


                    And your plugin class like this:



                    <?php

                    namespace MyModulePlugin;

                    class OrderServicePlugin

                    public function aroundPlace(MagentoSalesModelServiceOrderService $subject, Closure $proceed, MagentoSalesApiDataOrderInterface $order)

                    $return = $proceed($order);

                    $orderId = $order->getEntityId();

                    // your custom code

                    return $return;








                    share|improve this answer















                    This is an old question but given I have just faced the same problem myself I thought I would give my take on the answer. sales_order_place_after is triggered before the order is saved to db so at the point your code is running the order entity ID doesn't exist. There are few options to work around this:



                    You could use sales_order_save_after which is triggered after the order is actually persisted to db. This will allow you to have access to the order ID. This approach has risks however as it can be triggered again after the order is created. If you only want to run your code only once when the order is first placed, using this observer may have unexpected side effects.



                    Alternatively rather than using an observer you could create a plugin around MagentoSalesApiOrderManagementInterface::place. This will allow you to do what I suspect you are trying to do with sales_order_place_after.



                    As a rough example your modules etc/di.xml would look something like this:



                    <?xml version="1.0"?>
                    <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
                    <type name="MagentoSalesApiOrderManagementInterface">
                    <plugin name="my-module-order-service" type="MyModulePluginOrderServicePlugin" sortOrder="5"/>
                    </type>
                    </config>


                    And your plugin class like this:



                    <?php

                    namespace MyModulePlugin;

                    class OrderServicePlugin

                    public function aroundPlace(MagentoSalesModelServiceOrderService $subject, Closure $proceed, MagentoSalesApiDataOrderInterface $order)

                    $return = $proceed($order);

                    $orderId = $order->getEntityId();

                    // your custom code

                    return $return;









                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited 2 mins ago

























                    answered May 15 '18 at 2:50









                    Andrew KettAndrew Kett

                    2,68911226




                    2,68911226





















                        0














                        It is better to avoid around plugin unless necessary . Use after plugin or MagentoSalesApiOrderManagementInterface::place



                        etc/di.xml



                        <?xml version="1.0" ?>
                        <config>
                        <type name="MagentoSalesApiOrderManagementInterface">
                        <plugin name="MyOrderPlaceAfterPlugin" type="MyModulePluginOrderPlaceAfterPlugin" sortOrder="99" />
                        </type>
                        </config>


                        MyModulePluginOrderPlaceAfterPlugin.php



                        //namespace MyModulePluginOrder;

                        class PlaceAfterPlugin


                        /**
                        * @param MagentoSalesApiOrderManagementInterface $orderManagementInterface
                        * @param MagentoSalesModelOrderInterceptor $order
                        * @return $order
                        */
                        public function afterPlace(MagentoSalesApiOrderManagementInterface $orderManagementInterface , $order)

                        $orderId = $order->getId();

                        // do something with order object (Interceptor )

                        return $order;







                        share|improve this answer



























                          0














                          It is better to avoid around plugin unless necessary . Use after plugin or MagentoSalesApiOrderManagementInterface::place



                          etc/di.xml



                          <?xml version="1.0" ?>
                          <config>
                          <type name="MagentoSalesApiOrderManagementInterface">
                          <plugin name="MyOrderPlaceAfterPlugin" type="MyModulePluginOrderPlaceAfterPlugin" sortOrder="99" />
                          </type>
                          </config>


                          MyModulePluginOrderPlaceAfterPlugin.php



                          //namespace MyModulePluginOrder;

                          class PlaceAfterPlugin


                          /**
                          * @param MagentoSalesApiOrderManagementInterface $orderManagementInterface
                          * @param MagentoSalesModelOrderInterceptor $order
                          * @return $order
                          */
                          public function afterPlace(MagentoSalesApiOrderManagementInterface $orderManagementInterface , $order)

                          $orderId = $order->getId();

                          // do something with order object (Interceptor )

                          return $order;







                          share|improve this answer

























                            0












                            0








                            0







                            It is better to avoid around plugin unless necessary . Use after plugin or MagentoSalesApiOrderManagementInterface::place



                            etc/di.xml



                            <?xml version="1.0" ?>
                            <config>
                            <type name="MagentoSalesApiOrderManagementInterface">
                            <plugin name="MyOrderPlaceAfterPlugin" type="MyModulePluginOrderPlaceAfterPlugin" sortOrder="99" />
                            </type>
                            </config>


                            MyModulePluginOrderPlaceAfterPlugin.php



                            //namespace MyModulePluginOrder;

                            class PlaceAfterPlugin


                            /**
                            * @param MagentoSalesApiOrderManagementInterface $orderManagementInterface
                            * @param MagentoSalesModelOrderInterceptor $order
                            * @return $order
                            */
                            public function afterPlace(MagentoSalesApiOrderManagementInterface $orderManagementInterface , $order)

                            $orderId = $order->getId();

                            // do something with order object (Interceptor )

                            return $order;







                            share|improve this answer













                            It is better to avoid around plugin unless necessary . Use after plugin or MagentoSalesApiOrderManagementInterface::place



                            etc/di.xml



                            <?xml version="1.0" ?>
                            <config>
                            <type name="MagentoSalesApiOrderManagementInterface">
                            <plugin name="MyOrderPlaceAfterPlugin" type="MyModulePluginOrderPlaceAfterPlugin" sortOrder="99" />
                            </type>
                            </config>


                            MyModulePluginOrderPlaceAfterPlugin.php



                            //namespace MyModulePluginOrder;

                            class PlaceAfterPlugin


                            /**
                            * @param MagentoSalesApiOrderManagementInterface $orderManagementInterface
                            * @param MagentoSalesModelOrderInterceptor $order
                            * @return $order
                            */
                            public function afterPlace(MagentoSalesApiOrderManagementInterface $orderManagementInterface , $order)

                            $orderId = $order->getId();

                            // do something with order object (Interceptor )

                            return $order;








                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Sep 25 '18 at 17:05









                            Aunik RahmanAunik Rahman

                            12




                            12



























                                draft saved

                                draft discarded
















































                                Thanks for contributing an answer to Magento Stack Exchange!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid


                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.

                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function ()
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f152350%2fmagento-2-sales-order-place-after-not-returning-order-id%23new-answer', 'question_page');

                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

                                Magento 2 disable Secret Key on URL's from terminal The Next CEO of Stack OverflowMagento 2 Shortcut/GUI tool to perform commandline tasks for windowsIn menu add configuration linkMagento oAuth : Generating access token and access secretMagento 2 security key issue in Third-Party API redirect URIPublic actions in admin controllersHow to Disable Cache in Custom WidgetURL Key not changing in Magento 2Product URL Key gets deleted when importing custom options - Magento 2Problem with reindex terminalMagento 2 - bin/magento Commands not working in Cpanel Terminal

                                Aasi (pallopeli) Navigointivalikko