Magento 2 - sales_order_place_after not returning Order IDUnable to get order by increment id in...

In One Punch Man, is King actually weak?

Why can't the Brexit deadlock in the UK parliament be solved with a plurality vote?

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

Has the laser at Magurele, Romania reached a tenth of the Sun's power?

Air travel with refrigerated insulin

How much do grades matter for a future academia position?

What does "tick" mean in this sentence?

How to leave product feedback on macOS?

Quoting Keynes in a lecture

The Digit Triangles

Sound waves in different octaves

Difference between shutdown options

Typing CO_2 easily

How can I, as DM, avoid the Conga Line of Death occurring when implementing some form of flanking rule?

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

How do I fix the group tension caused by my character stealing and possibly killing without provocation?

What the heck is gets(stdin) on site coderbyte?

Deciphering cause of death?

Language involving irrational number is not a CFL

Alignment of six matrices

I'm just a whisper. Who am I?

Make a Bowl of Alphabet Soup

When is "ei" a diphthong?

Can I say "fingers" when referring to toes?



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 9 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

                                “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

                                How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

                                變成蝙蝠會怎樣? 參考資料 外部連結 导航菜单Thomas Nagel, "What is it like to be a...