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;
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
add a comment |
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
add a comment |
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
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
magento2 checkout
asked Jan 24 '18 at 9:31
Mohammed IbrahimMohammed Ibrahim
54
54
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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.
I have tried this answer. But still, I didn't get any console error or error log.
– Agnes
Aug 9 '18 at 12:58
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
I have tried this answer. But still, I didn't get any console error or error log.
– Agnes
Aug 9 '18 at 12:58
add a comment |
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.
I have tried this answer. But still, I didn't get any console error or error log.
– Agnes
Aug 9 '18 at 12:58
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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