Title: OrderEndpoint.php
Last modified: October 4, 2023

---

# OrderEndpoint.php

 *  Resolved [fftw](https://wordpress.org/support/users/fftw/)
 * (@fftw)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/orderendpoint-php/)
 * hey, i have an annoying issue which happens every now an then. sometimes everything
   is working for a few days without any issues, sometimes we get several errors
   in a row. Please see the errorlog below:
 * [https://pastecode.io/s/ct1ptfqk](https://pastecode.io/s/ct1ptfqk)
 * also the status sometimes says “Item amount mismatch. Items ditched.”
 * People on different devices and browsers do create this error.
 * please help <3
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Forderendpoint-php%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Support [Femi](https://wordpress.org/support/users/femiyb/)
 * (@femiyb)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/orderendpoint-php/#post-17105248)
 * Hello [@fftw](https://wordpress.org/support/users/fftw/)
 * To better judge what could be causing this, we are interested in a copy of your
   WooCommerce system report and your latest PayPal Payments log files.
 * The system report can be accessed from here:
   WooCommerce > Status > Get system
   report > Copy for support
 * You can copy the log files from here:
   WooCommerce > Status > Logs > select “woocommerce-
   paypal-payments-[…]” in the dropdown and click on view.
 * 
   You can share it privately with us from here:[https://paypal.inpsyde.com/docs/request-support/](https://paypal.inpsyde.com/docs/request-support/)
 * Please include a link to this thread when sending a private message.
 * Regards,
   Femi
 *  [szedlick](https://wordpress.org/support/users/szedlick/)
 * (@szedlick)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/orderendpoint-php/#post-17115408)
 * Hi Femi,
   have you found any solution for the described problem? We have noticed
   the same issue in one of our customers shop (“Item amount mismatch. Items ditched.”).
   Another strange behaviour we have noticed is, that the sku of some products within
   orders with this error are not listet.Can you please help us?Many thanks in advance.
   Kind regardsSven
    -  This reply was modified 2 years, 10 months ago by [szedlick](https://wordpress.org/support/users/szedlick/).
 *  Plugin Support [Syde Niklas](https://wordpress.org/support/users/niklasinpsyde/)
 * (@niklasinpsyde)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/orderendpoint-php/#post-17117193)
 * Hi there,
 * This order note is the result of a [new setting](https://github.com/woocommerce/woocommerce-paypal-payments/pull/1583)
   that was introduced in a recent update: [https://woocommerce.com/document/woocommerce-paypal-payments/#integration-configuration](https://woocommerce.com/document/woocommerce-paypal-payments/#integration-configuration)
 * Sometimes, differences in how WooCommerce and PayPal calculate taxes can lead
   to line item mismatches, resulting in an error and a failed payment. To prevent
   mismatch errors, PayPal Payments historically ditched the items so that the PayPal
   order does not contain any item details.
 * Recently, the behavior was improved to add an order note if such a mismatch occurs
   for better transparency. There is also a new option in the Connection tab to 
   create a new line to fix the mismatch. You can use this feature to preserve the
   line items in the PayPal order by having the plugin automatically add another
   item, usually with a $0,01 amount, to fix the mismatch. You can set a custom 
   name for this line item.
 * I hope this clarifies the behavior! Please reopen the thread or create a new 
   one if any questions remain. Thanks!
 * Kind regards,
   Niklas
 *  [actionanalysis](https://wordpress.org/support/users/actionanalysis/)
 * (@actionanalysis)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/orderendpoint-php/#post-17117653)
 * Hey,
 * We’ve noticed this on an order this morning too, there seems to be a 4 cent mismatch
   between the total order value and the paypal payout. Can you advise what specifically
   would cause this, and any steps we might need to take to resolve this? or how
   we can even reconcile the difference correctly?
 *  [visual.destini](https://wordpress.org/support/users/visualdestini/)
 * (@visualdestini)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/orderendpoint-php/#post-17126971)
 * I’m also seeing this issue – am I getting paid what I should be? Are line items
   being removed from the order, or just item skus?
 *  [benoitfouc](https://wordpress.org/support/users/benoitfouc/)
 * (@benoitfouc)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/orderendpoint-php/#post-17203190)
 * Same issue here
 *  [JapeNZ](https://wordpress.org/support/users/japenz/)
 * (@japenz)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/orderendpoint-php/#post-17285097)
 * +1
 * Are items being removed for the order?
   Am I being paid the amount I should be?

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘OrderEndpoint.php’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-paypal-payments/assets/icon-256x256.png?rev=
   3234615)
 * [WooCommerce PayPal Payments](https://wordpress.org/plugins/woocommerce-paypal-payments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-paypal-payments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-paypal-payments/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-paypal-payments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-paypal-payments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-paypal-payments/reviews/)

 * 7 replies
 * 8 participants
 * Last reply from: [JapeNZ](https://wordpress.org/support/users/japenz/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/orderendpoint-php/#post-17285097)
 * Status: resolved