Place Order spinner stuck and not redirect to success page?Place Order button doesn't go to success/confirmation page? (1.9.1.0)Magento 1.9.2.4 - Place Order not go success pageMagento 2.0.7 to 2.1 - Error in Review Order Page - “We cant place the order”Checkout loading image not disappear after load all data and after place order not redirecting to sucess page in magento2Why the checkout spinner keeps spinning in Magento 2?Magento 2 - redirect to final checkout page (checkout success/failed)Magento 2 Place orders directly from shopping cart pagePaypal Error placing orderMagento 2.3 Checkout success page 302 not foundMagento 2 : Custom payment on place order error “The authorize action is not available.”

Square spiral in Mathematica

Given 0s on Assignments with suspected and dismissed cheating?

How can I safely determine the output voltage and current of a transformer?

Would life always name the light from their sun "white"

What would a Dragon have to exhale to cause rain?

​Cuban​ ​Primes

Why did the soldiers of the North disobey Jon?

How can I fix the label locations on my tikzcd diagram?

Could a space colony 1g from the sun work?

How to know the path of a particular software?

Promotion comes with unexpected 24/7/365 on-call

Why is Drogon so much better in battle than Rhaegal and Viserion?

FIFO data structure in pure C

Can a person still be an Orthodox Jew and believe that the Torah contains narratives that are not scientifically correct?

Why is it correct to use ~た in this sentence, even though we're talking about next week?

301 Redirects what does ([a-z]+)-(.*) and ([0-9]+)-(.*) mean

Resistor Selection to retain same brightness in LED PWM circuit

Have there been any examples of re-usable rockets in the past?

Would a "ring language" be possible?

Why are lawsuits between the President and Congress not automatically sent to the Supreme Court

Do high-wing aircraft represent more difficult engineering challenges than low-wing aircraft?

Deleting the same lines from a list

Why use a retrograde orbit?

"Counterexample" for the Inverse function theorem



Place Order spinner stuck and not redirect to success page?


Place Order button doesn't go to success/confirmation page? (1.9.1.0)Magento 1.9.2.4 - Place Order not go success pageMagento 2.0.7 to 2.1 - Error in Review Order Page - “We cant place the order”Checkout loading image not disappear after load all data and after place order not redirecting to sucess page in magento2Why the checkout spinner keeps spinning in Magento 2?Magento 2 - redirect to final checkout page (checkout success/failed)Magento 2 Place orders directly from shopping cart pagePaypal Error placing orderMagento 2.3 Checkout success page 302 not foundMagento 2 : Custom payment on place order error “The authorize action is not available.”






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















i have a big problem in magento 2.1.7
when user try to place order and click on Place Order button.. the loader spinner not stop loading
and not redirect user to the success page
and in the backend the order number is missing !
could you please help me to remove spinner after press on Place order button?
or any other solutions?
i use One Page Checkout but the same problem in regular checkout.
another problem (lot of orders are missing in database and in backend)
Thank you










share|improve this question




























    0















    i have a big problem in magento 2.1.7
    when user try to place order and click on Place Order button.. the loader spinner not stop loading
    and not redirect user to the success page
    and in the backend the order number is missing !
    could you please help me to remove spinner after press on Place order button?
    or any other solutions?
    i use One Page Checkout but the same problem in regular checkout.
    another problem (lot of orders are missing in database and in backend)
    Thank you










    share|improve this question
























      0












      0








      0








      i have a big problem in magento 2.1.7
      when user try to place order and click on Place Order button.. the loader spinner not stop loading
      and not redirect user to the success page
      and in the backend the order number is missing !
      could you please help me to remove spinner after press on Place order button?
      or any other solutions?
      i use One Page Checkout but the same problem in regular checkout.
      another problem (lot of orders are missing in database and in backend)
      Thank you










      share|improve this question














      i have a big problem in magento 2.1.7
      when user try to place order and click on Place Order button.. the loader spinner not stop loading
      and not redirect user to the success page
      and in the backend the order number is missing !
      could you please help me to remove spinner after press on Place order button?
      or any other solutions?
      i use One Page Checkout but the same problem in regular checkout.
      another problem (lot of orders are missing in database and in backend)
      Thank you







      magento2 checkout






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 24 '18 at 9:31









      Mohammed IbrahimMohammed Ibrahim

      54




      54




















          1 Answer
          1






          active

          oldest

          votes


















          0














          To know the exact reason why it is happen, please open below file:




          vendor/magento/module-checkout/Model/PaymentInformationManagement.php




          then comment out the try, catch and put code to place order directly as below:



          Replace below function



          public function savePaymentInformationAndPlaceOrder(
          $cartId,
          MagentoQuoteApiDataPaymentInterface $paymentMethod,
          MagentoQuoteApiDataAddressInterface $billingAddress = null
          )
          $this->savePaymentInformation($cartId, $paymentMethod, $billingAddress);
          try
          $orderId = $this->cartManagement->placeOrder($cartId);
          catch (Exception $e)
          //var_dump($e);
          throw new CouldNotSaveException(
          __('An error occurred on the server. Please try to place the order again.'),
          $e
          );

          return $orderId;



          To



          public function savePaymentInformationAndPlaceOrder(
          $cartId,
          MagentoQuoteApiDataPaymentInterface $paymentMethod,
          MagentoQuoteApiDataAddressInterface $billingAddress = null
          )
          $this->savePaymentInformation($cartId, $paymentMethod, $billingAddress);
          //try
          $orderId = $this->cartManagement->placeOrder($cartId);
          /* catch (Exception $e)
          //var_dump($e);
          throw new CouldNotSaveException(
          __('An error occurred on the server. Please try to place the order again.'),
          $e
          );
          */
          return $orderId;



          Now, try to place order again. You will be able to see the details error in log file or may be in console.






          share|improve this answer























          • I have tried this answer. But still, I didn't get any console error or error log.

            – Agnes
            Aug 9 '18 at 12:58











          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%2f210785%2fplace-order-spinner-stuck-and-not-redirect-to-success-page%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          To know the exact reason why it is happen, please open below file:




          vendor/magento/module-checkout/Model/PaymentInformationManagement.php




          then comment out the try, catch and put code to place order directly as below:



          Replace below function



          public function savePaymentInformationAndPlaceOrder(
          $cartId,
          MagentoQuoteApiDataPaymentInterface $paymentMethod,
          MagentoQuoteApiDataAddressInterface $billingAddress = null
          )
          $this->savePaymentInformation($cartId, $paymentMethod, $billingAddress);
          try
          $orderId = $this->cartManagement->placeOrder($cartId);
          catch (Exception $e)
          //var_dump($e);
          throw new CouldNotSaveException(
          __('An error occurred on the server. Please try to place the order again.'),
          $e
          );

          return $orderId;



          To



          public function savePaymentInformationAndPlaceOrder(
          $cartId,
          MagentoQuoteApiDataPaymentInterface $paymentMethod,
          MagentoQuoteApiDataAddressInterface $billingAddress = null
          )
          $this->savePaymentInformation($cartId, $paymentMethod, $billingAddress);
          //try
          $orderId = $this->cartManagement->placeOrder($cartId);
          /* catch (Exception $e)
          //var_dump($e);
          throw new CouldNotSaveException(
          __('An error occurred on the server. Please try to place the order again.'),
          $e
          );
          */
          return $orderId;



          Now, try to place order again. You will be able to see the details error in log file or may be in console.






          share|improve this answer























          • I have tried this answer. But still, I didn't get any console error or error log.

            – Agnes
            Aug 9 '18 at 12:58















          0














          To know the exact reason why it is happen, please open below file:




          vendor/magento/module-checkout/Model/PaymentInformationManagement.php




          then comment out the try, catch and put code to place order directly as below:



          Replace below function



          public function savePaymentInformationAndPlaceOrder(
          $cartId,
          MagentoQuoteApiDataPaymentInterface $paymentMethod,
          MagentoQuoteApiDataAddressInterface $billingAddress = null
          )
          $this->savePaymentInformation($cartId, $paymentMethod, $billingAddress);
          try
          $orderId = $this->cartManagement->placeOrder($cartId);
          catch (Exception $e)
          //var_dump($e);
          throw new CouldNotSaveException(
          __('An error occurred on the server. Please try to place the order again.'),
          $e
          );

          return $orderId;



          To



          public function savePaymentInformationAndPlaceOrder(
          $cartId,
          MagentoQuoteApiDataPaymentInterface $paymentMethod,
          MagentoQuoteApiDataAddressInterface $billingAddress = null
          )
          $this->savePaymentInformation($cartId, $paymentMethod, $billingAddress);
          //try
          $orderId = $this->cartManagement->placeOrder($cartId);
          /* catch (Exception $e)
          //var_dump($e);
          throw new CouldNotSaveException(
          __('An error occurred on the server. Please try to place the order again.'),
          $e
          );
          */
          return $orderId;



          Now, try to place order again. You will be able to see the details error in log file or may be in console.






          share|improve this answer























          • I have tried this answer. But still, I didn't get any console error or error log.

            – Agnes
            Aug 9 '18 at 12:58













          0












          0








          0







          To know the exact reason why it is happen, please open below file:




          vendor/magento/module-checkout/Model/PaymentInformationManagement.php




          then comment out the try, catch and put code to place order directly as below:



          Replace below function



          public function savePaymentInformationAndPlaceOrder(
          $cartId,
          MagentoQuoteApiDataPaymentInterface $paymentMethod,
          MagentoQuoteApiDataAddressInterface $billingAddress = null
          )
          $this->savePaymentInformation($cartId, $paymentMethod, $billingAddress);
          try
          $orderId = $this->cartManagement->placeOrder($cartId);
          catch (Exception $e)
          //var_dump($e);
          throw new CouldNotSaveException(
          __('An error occurred on the server. Please try to place the order again.'),
          $e
          );

          return $orderId;



          To



          public function savePaymentInformationAndPlaceOrder(
          $cartId,
          MagentoQuoteApiDataPaymentInterface $paymentMethod,
          MagentoQuoteApiDataAddressInterface $billingAddress = null
          )
          $this->savePaymentInformation($cartId, $paymentMethod, $billingAddress);
          //try
          $orderId = $this->cartManagement->placeOrder($cartId);
          /* catch (Exception $e)
          //var_dump($e);
          throw new CouldNotSaveException(
          __('An error occurred on the server. Please try to place the order again.'),
          $e
          );
          */
          return $orderId;



          Now, try to place order again. You will be able to see the details error in log file or may be in console.






          share|improve this answer













          To know the exact reason why it is happen, please open below file:




          vendor/magento/module-checkout/Model/PaymentInformationManagement.php




          then comment out the try, catch and put code to place order directly as below:



          Replace below function



          public function savePaymentInformationAndPlaceOrder(
          $cartId,
          MagentoQuoteApiDataPaymentInterface $paymentMethod,
          MagentoQuoteApiDataAddressInterface $billingAddress = null
          )
          $this->savePaymentInformation($cartId, $paymentMethod, $billingAddress);
          try
          $orderId = $this->cartManagement->placeOrder($cartId);
          catch (Exception $e)
          //var_dump($e);
          throw new CouldNotSaveException(
          __('An error occurred on the server. Please try to place the order again.'),
          $e
          );

          return $orderId;



          To



          public function savePaymentInformationAndPlaceOrder(
          $cartId,
          MagentoQuoteApiDataPaymentInterface $paymentMethod,
          MagentoQuoteApiDataAddressInterface $billingAddress = null
          )
          $this->savePaymentInformation($cartId, $paymentMethod, $billingAddress);
          //try
          $orderId = $this->cartManagement->placeOrder($cartId);
          /* catch (Exception $e)
          //var_dump($e);
          throw new CouldNotSaveException(
          __('An error occurred on the server. Please try to place the order again.'),
          $e
          );
          */
          return $orderId;



          Now, try to place order again. You will be able to see the details error in log file or may be in console.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 24 '18 at 9:42









          Pratik OzaPratik Oza

          2,216411




          2,216411












          • I have tried this answer. But still, I didn't get any console error or error log.

            – Agnes
            Aug 9 '18 at 12:58

















          • I have tried this answer. But still, I didn't get any console error or error log.

            – Agnes
            Aug 9 '18 at 12:58
















          I have tried this answer. But still, I didn't get any console error or error log.

          – Agnes
          Aug 9 '18 at 12:58





          I have tried this answer. But still, I didn't get any console error or error log.

          – Agnes
          Aug 9 '18 at 12:58

















          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%2f210785%2fplace-order-spinner-stuck-and-not-redirect-to-success-page%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