We did analyse the logs first as we got some fixes applied related to other paypal issues I will link seperatly. In this case the email doesn't get included in the request, instead the related value stays null. This throws out the following exception "Bitte geben Sie Ihre Kunden E-Mail Adresse an". Actualy we're using Mageplaza OSC, but we did test this also with the original checkout and got the same result. This also seems to be an issue which persists since longer as our customers are frequently reporting this. As always, this is complicated cause there were bugs before that generated the same error messages in frontend. See my list at the end of this posting.
[2017-07-07 07:29:30] main.DEBUG: array (
'url' => 'https://api.paypal.com/nvp',
'SetExpressCheckout' =>
array (
'PAYMENTACTION' => 'Authorization',
'AMT' => '48.31',
'CURRENCYCODE' => 'EUR',
'RETURNURL' => 'https://www.xxxxxxxxx.com/paypal/express/return/',
'CANCELURL' => 'https://www.xxxxxxxxx.com/paypal/express/cancel/',
'INVNUM' => '000002014',
'SOLUTIONTYPE' => 'Mark',
'GIROPAYCANCELURL' => 'https://www.xxxxxxxxx.com/paypal/express/cancel/',
'GIROPAYSUCCESSURL' => 'https://www.xxxxxxxxx.com/checkout/onepage/success/',
'BANKTXNPENDINGURL' => 'https://www.xxxxxxxxx.com/checkout/onepage/success/',
'PAGESTYLE' => 'XXX',
'SHIPPINGAMT' => '2.90',
'ITEMAMT' => '37.78',
'TAXAMT' => '7.63',
'BUSINESS' => NULL,
'NOTETEXT' => NULL,
'EMAIL' => NULL,
'FIRSTNAME' => 'Jan',
'LASTNAME' => 'de Tester',
'MIDDLENAME' => NULL,
'SALUTATION' => 'Herr',
'SUFFIX' => NULL,
'COUNTRYCODE' => 'DE',
'STATE' => 'NDS',
'CITY' => 'Solingen',
'STREET' => 'Querstr. 59',
'ZIP' => '42699',
'PHONENUM' => NULL,
'SHIPTOCOUNTRYCODE' => 'DE',
'SHIPTOSTATE' => 'NDS',
'SHIPTOCITY' => 'Solingen',
'SHIPTOSTREET' => 'Querstr. 59',
'SHIPTOZIP' => '42699',
'SHIPTOPHONENUM' => NULL,
'SHIPTOSTREET2' => '',
'STREET2' => '',
'SHIPTONAME' => 'Herr Jan de Tester',
'ADDROVERRIDE' => 1,
'METHOD' => 'SetExpressCheckout',
'VERSION' => '72.0',
'USER' => '*',
'PWD' => '*',
'BUTTONSOURCE' => 'Magento_Cart_Community',
),
'response' =>
array (
'TOKEN' => 'EC-XXX',
'TIMESTAMP' => '2017-07-07T07:29:30Z',
'CORRELATIONID' => 'XXX',
'ACK' => 'Success',
'VERSION' => '72.0',
'BUILD' => '35915193',
),
) {"is_exception":false} []
https://github.com/magento/magento2/issues/9455
https://github.com/magento/magento2/issues/6929
https://github.com/magento/magento2/issues/7955
This Cannot Place Order with exception log below. This is a bug that was present in magento 2.0 and its still there in magento 2.1.7. There are multiple threads with several people reporting this error but for some reason this error has never been fixed.
Although this is a payment related error that should have received top priority, it was not fixed in so many releases since first reported. here is the log:
main.CRITICAL: Exception: Wrong order ID: "INV2-HCZX-TDHA-EA8F-3TZQ". in /home/couponc1/public_html/vendor/magento/module-paypal/Model/Ipn.php:140
Stack trace:
Not sure if anyone has had this issue with magento - It says cannot place order, but it places the order but magento does not create new order and transaction appears in PayPal.
If the customer had previous order, the transaction then ends up linking to the old order with - with status "Suspected Fraud". No matter how many orders that same customer places, it will end up in the same old order and new order will not be created.
The comment section inside the order page will show log of which paypal transactions were flagged as suspected fraud.
I guess all of these issues are linked and goes back to this "cannot place order" thing that has not been resolved since more than a year.
Note - there is no foreign currency involved.
If anyone else is having suspected fraud and cannot place order issue with magento, please do share it here
@s00071609 - it's a different scenario, resulting in the same error message. You have to differ as there are 4-5 issues I currently know.
Take a look at this module, it will help to demistify PPE a bit
https://github.com/piotrkwiecinski/magento2-paypal-cant-place-order
@gewaechshaus - Does this module fix the cannot place error with PayPal? - i think it results due to many different things you said scenario.
Anything related to receiving payment should have the top most priority among different bugs but this error is still there.
@s00071609 - yes and no... It extends the _handleCallErrors() method and handles false error messages on successfull transactions (as seen here) and enables a more robust logging.
There's a M2 core commit here
https://github.com/magento/magento2/commit/f954a9150aef87d58ccc4f400815f6337234f09a
@gewaechshaus Its sickening to see errors in one place where you never want any error ie Payment/Orders. I know there are plenty of issues reported and there are many sources of errors like this- does this module help with this error at all:
[2017-07-12 23:11:31] main.CRITICAL: Exception: Wrong order ID: "INV2-HCZX-TDHA-EA8F-3TZQ". in /home/couponc1/public_html/vendor/magento/module-paypal/Model/Ipn.php:140
Stack trace:
@gewaechshaus Installed it via composer but it gave permission error although permission looked fine. Only homepage worked and rest of the pages simply blank, page.html had 500 server error after i installed this.
I installed via composer
Removed all cache, static content etc,
Ran compile and deployed static content.
Any info on this would be great.
@s00071609 - please take a look a the modules PR's and try our fix
https://github.com/piotrkwiecinski/magento2-paypal-cant-place-order/pull/1
And BTW - please put your logmessages in pastebins, there's to much pollution the way you did it. You don't respect others who are stumbling upon this and wan't to read the related information in the possible shortest time.
@gewaechshaus the fix suggested gives file system error. Its causing more issues than solving. I guess i am ding something wrong
Did new release magento 2.1.8 include fix for WE CANNOT PLACE ORDER? This is an awful error probably one of the most crucial. People end of paying twice and some cannot pay. I cant see this bug fix included in 2.1.8, if true this will be another sad thing.
@s00071609 - I think this stuff is fixed in 2.2.0 - you should take a look at the RCs. It's a hard knock life to deal with PP/M since Magento 1 rounding issues and bunches of other paypal bugs :) I can hardly remember a release which didn't had any issues with PPE :) :)
I didn't took a look at 2.1.8...
@s00071609 - according to the RN this is fixed (take a look under payment):
http://devdocs.magento.com/guides/v2.1/release-notes/ReleaseNotes2.1.8CE.html
Well, that seems to be another thing that causes CANNOT PLACE ORDER . As you know there are many threads reporting this same issue coming from different sources - wrong invoice, wrong order id, item not in stock etc. I guess RN lists one of the fixes. As noted above, there has not been a release that is free from this issue. You can live with other issues but not with payment integration, its surprising that this issue has been widely reported yet no fixes in last releases. It confuses customers, leads to double payment, and many issues, it also causes stock discrepancy I think.
Installed it yesterday and i already see the error Wrong Order ID in the log. This error causes cannot place orders. I dont think this issue gone and doesnt look like magento team is even considering it.
main.CRITICAL: Exception: Wrong order ID: "INV2-HQSJ-BTKX-76SH-KBJ4". in /home/xxxxxxxx/public_html/vendor/magento/module-paypal/Model/Ipn.php:140
main.CRITICAL: Exception: Wrong order ID: "INV2-HQSJ-BTKX-76SH-KBJ4". in /home/xxxxxxxx/public_html/vendor/magento/module-paypal/Model/Ipn.php:140
You actually have order with such increment_id in your system?
@gewaechshaus, thank you for your report.
We were not able to reproduce this issue by following the steps you provided. If you'd like to update it, please reopen the issue.
We tested the issue on 2.1.9
We are still facing same issue in Magento ver 2.1.9. Log says
main.CRITICAL: Exception: Wrong order ID:
We have upgraded our Magento from earlier 2.x version to latest one.
We have upgraded to 2.1.10 but no luck!
Is there any fix for this yet?? Our client is currently losing orders due to this bug.
same issue.
First time, this issue occurs with our customer, we think that it's a customer account's problem, and that customer doesn't checkout again!
Second time, we still think that it's a customer account's problem.
Third time, a customer places another order after he completes a new order with express checkout. But, the system throws "can't place order". We don't know how many customers we lost (if they don't report error)!
Our website is in a marketing campaign (with cart price rules). It was updated from Magento 2.0.6 -> 2.1.0 -> 2.1.7 -> 2.1.9.
Please fix this issue!
We have just checked log file and this is content:
[2017-11-15 09:50:21] main.CRITICAL: Exception message: Please check the billing address information. Please enter the street. Please enter the city. Please enter the phone number. Please enter the zip/postal code.
We are also facing same issue, anyone found solution for this?
We are also having the same issue on 2.1.10, is there a fix for it?
Our clients are loosing orders because of it...
Magento 2.1.x gets this issue, I have to update my website to 2.2.X to resolve it !!!
any workaround for Magento 2.1.x?
i'm still geeting the same issue on Magento 2.1.8 (upgraded from 2.1.3)
Downgrade php to 7.0 from 7.1 its solve issue for me.
Most helpful comment
We are still facing same issue in Magento ver 2.1.9. Log says
main.CRITICAL: Exception: Wrong order ID:
We have upgraded our Magento from earlier 2.x version to latest one.