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

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

          Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

          Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?