How to transform a quote into an order from CALLBACK HOOKS, MAGENTO 2.3Convert a Quote into a Backend OrderCancelling order placement before order object is created from quoteHow to create quote and order programmatically in Magento2Get quote items from admin quote sessionconvert quote to order for guest usersHow to get the order items and quote items whenever create order from admin panel?Convert MagentoQuoteModelQuote to MagentoSalesModelOrder: Magento 2Get Quote from Order Success ObserverHow to create duplicate new quote from old order quote Magento 1.7?Magento 2.3 Convert Quote from store to another store

Active wildlife outside the window- Good or Bad for Cat psychology?

Why didn't Avengers simply jump 5 years back?

What verb goes with "coup"?

Understanding the as-if rule, "the program was executed as written"

Does an NPC know when a character has passed the save for Truth Serum?

Denied entry in Croatia Border

Why should I allow multiple IP addresses on a website for a single session?

Find the closest three-digit hex colour

What does this Pokemon Trainer mean by saying the player is "SHELLOS"?

How much of a mortgage should I take on to maximize my 5 year financial plan?

How is it possible for tall trees to pull water to heights more than 10m?

Why are symbols not written in words?

Advantages of using bra-ket notation

Five 5-cent coins touching each other

Is there a word for the act of simultaneously pulling and twisting an object?

Having to constantly redo everything because I don't know how to do it

Is it OK to throw pebbles and stones in streams, waterfalls, ponds, etc.?

Could you fall off a planet if it was being accelerated by engines?

Do electrons really perform instantaneous quantum leaps?

Chandra exiles a card, I play it, it gets exiled again

Is it theoretically possible to hack printer using scanner tray?

German idiomatic equivalents of 能骗就骗 (if you can cheat, then cheat)

Simplify the code

Enterprise Layers and Naming Conventions



How to transform a quote into an order from CALLBACK HOOKS, MAGENTO 2.3


Convert a Quote into a Backend OrderCancelling order placement before order object is created from quoteHow to create quote and order programmatically in Magento2Get quote items from admin quote sessionconvert quote to order for guest usersHow to get the order items and quote items whenever create order from admin panel?Convert MagentoQuoteModelQuote to MagentoSalesModelOrder: Magento 2Get Quote from Order Success ObserverHow to create duplicate new quote from old order quote Magento 1.7?Magento 2.3 Convert Quote from store to another store













1















I'm trying to integrate a payment gateway. And they provide a callback hooks i've set for them to return me the CartID (Quote's entity_id).



But from here on, it feels like it isnt right for me to call guest API, as the cart belongs to an actual customer's cart. Neither do i have the access tokens when the callback hook is being sent to the API i've created.



How can i create the order (sales_order table & sales_order_grid) based on the quote i could receive ?



Please advise what should i do as im stuck on this for 3 days.










share|improve this question







New contributor



Kyouichi LogPose is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    1















    I'm trying to integrate a payment gateway. And they provide a callback hooks i've set for them to return me the CartID (Quote's entity_id).



    But from here on, it feels like it isnt right for me to call guest API, as the cart belongs to an actual customer's cart. Neither do i have the access tokens when the callback hook is being sent to the API i've created.



    How can i create the order (sales_order table & sales_order_grid) based on the quote i could receive ?



    Please advise what should i do as im stuck on this for 3 days.










    share|improve this question







    New contributor



    Kyouichi LogPose is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      1












      1








      1








      I'm trying to integrate a payment gateway. And they provide a callback hooks i've set for them to return me the CartID (Quote's entity_id).



      But from here on, it feels like it isnt right for me to call guest API, as the cart belongs to an actual customer's cart. Neither do i have the access tokens when the callback hook is being sent to the API i've created.



      How can i create the order (sales_order table & sales_order_grid) based on the quote i could receive ?



      Please advise what should i do as im stuck on this for 3 days.










      share|improve this question







      New contributor



      Kyouichi LogPose is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I'm trying to integrate a payment gateway. And they provide a callback hooks i've set for them to return me the CartID (Quote's entity_id).



      But from here on, it feels like it isnt right for me to call guest API, as the cart belongs to an actual customer's cart. Neither do i have the access tokens when the callback hook is being sent to the API i've created.



      How can i create the order (sales_order table & sales_order_grid) based on the quote i could receive ?



      Please advise what should i do as im stuck on this for 3 days.







      magento2 orders sales-order quote order-grid






      share|improve this question







      New contributor



      Kyouichi LogPose is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question







      New contributor



      Kyouichi LogPose is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question






      New contributor



      Kyouichi LogPose is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked Jun 23 at 16:18









      Kyouichi LogPoseKyouichi LogPose

      162 bronze badges




      162 bronze badges




      New contributor



      Kyouichi LogPose is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      Kyouichi LogPose is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes














          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
          );



          );






          Kyouichi LogPose is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f279300%2fhow-to-transform-a-quote-into-an-order-from-callback-hooks-magento-2-3%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Kyouichi LogPose is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          Kyouichi LogPose is a new contributor. Be nice, and check out our Code of Conduct.












          Kyouichi LogPose is a new contributor. Be nice, and check out our Code of Conduct.











          Kyouichi LogPose is a new contributor. Be nice, and check out our Code of Conduct.














          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%2f279300%2fhow-to-transform-a-quote-into-an-order-from-callback-hooks-magento-2-3%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

          Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

          Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

          Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form