Magento2: PayPal Express checkout issue - We cannot place an order.

Created on 21 Mar 2018  路  10Comments  路  Source: magento/magento2

Preconditions


  1. Magento 2.2.1
  2. SSL certificate installed in the domain.
  3. nginx server.

Steps to reproduce

  1. We have added the virtual product in checkout and tried to place an order through PayPal sandbox mode.
  2. It is redirecting to the PayPal Payment page and able to pay an amount. But while redirecting to website the order is not created and getting an error as "we cannot place an order".
    3) Whereas the sandbox credential is working fine in local server.

Expected result

  1. It should be place an order or show exact error.

Actual result

  1. Getting an error message as "We cannot place an order."
Format is valid needs update

All 10 comments

@Sathishkumar8731 , thank you for your report.
We were not able to reproduce this issue by following the steps you provided. Please provide more detailed steps to reproduce or try to reproduce this issue on a clean installation or latest release.

Hi Team,

1) Kindly setup a NGINX server and installed Magento 2.2.2 version.

2) The server setup should be in live mode ( not development or local server).

3) Add Virtual product in the admin panel and then proceed to pay via PayPal express checkout.

4) You will be redirected to the Payment gateway page and able to pay it.

5) After redirecting to the Main website page, you will find the error message "We can't place the order." (Common Error Message which defined in the code itself under Magento_PayPal Module).

6) Also, we have noticed that the order information is not getting in the file path:
module-paypal/Controller/Express/AbstractExpress/PlaceOrder.php under try section.

@Sathishkumar8731 , thanks for your update, but we not reproduce this issue on fresh installation. See screenshots

virtual_pr

virtual_pay

virtual_order

screenshot_1

@Sathishkumar8731 we are closing this issue due to inactivity. If you'd like to update it, please reopen the issue.

Hi Team,

The issue still persist.

We are receiving the error message as "We can't place an ordered." and returned to the
domainname.com/paypal/express/review/, eventhough the order is success.

Here is the exception log Message:

main.CRITICAL: Wrong order ID: "000000074". {"exception":"[object] (Exception(code: 0): Wrong order ID: \"000000074\". at /....../vendor/magento/module-paypal/Model/Ipn.php:140)"} []

Note: I have noticed many users are still reporting the same issues in default Magento. Kindly check the issue with priority and provide solution.

@Sathishkumar8731 Did you get the solution? I am facing the same issue with PayPal express checkout.

@pankajpragma, I didn't get any permanent solution. I am looking into the issue.

@Sathishkumar8731 getting same issue. did you find any solution?

@Sathishkumar8731 we too getting same error and orders also not getting saved.

[2018-08-21 07:40:48] main.CRITICAL: Wrong order ID: "700005907". {"exception":"[object] (Exception(code: 0): Wrong order ID: \"700005907\".

@bhooby did you got any solution for this problem

Was this page helpful?
0 / 5 - 0 ratings