Resolving PayPal Checkout: Item Amount Mismatch and Fee Display Issues
Content
Understanding and Fixing Common PayPal Payment Discrepancies
Many WooCommerce store owners using the 'WooCommerce PayPal Payments' plugin encounter issues where the amount shown during checkout doesn't match what appears in PayPal. Two frequent problems are the "Item amount mismatch" error and incorrect fee calculations. This guide explains why these issues occur and provides practical solutions.
Why Item Amount Mismatch Happens
The "Item amount mismatch. Items ditched" error typically occurs when there's a rounding discrepancy between WooCommerce and PayPal's calculation systems. This can happen when:
- Using plugins that dynamically calculate prices (e.g., formula-based pricing plugins)
- Applying complex tax calculations or custom discounts
- Using currency converters that create minor rounding differences
When PayPal detects that the sum of individual item prices doesn't match the order total, it drops the line items and processes only the total amount to prevent payment failure.
How to Configure Subtotal Mismatch Behavior
The 'WooCommerce PayPal Payments' plugin includes a setting to handle these mismatches:
- Go to WooCommerce → Settings → Payments → PayPal
- Click the "Connection" tab
- Find "Subtotal mismatch behavior"
- Change from "Do not send line items to PayPal" to "Add another line item"
This setting tells the plugin to automatically add a correction line item instead of removing all item details, which often resolves the mismatch issue.
Understanding PayPal Fee Display
Another common concern is how PayPal fees are displayed in WooCommerce orders. The plugin shows PayPal fees in the admin order overview after payment processing, but it cannot add these fees to the customer's total beforehand because:
- PayPal's exact fee structure isn't known until after transaction processing
- PayPal's policies prohibit adding discriminatory fees specifically for PayPal payments
If fees aren't showing in your order details, this might indicate a webhook processing issue where payment metadata wasn't fully received.
Troubleshooting Steps
If you're experiencing these issues, follow these troubleshooting steps:
- Conflict Test: Temporarily switch to a default theme (like Storefront) and disable all plugins except WooCommerce and PayPal Payments. If the issue resolves, reactivate them one by one to identify the conflict.
- Check Custom Code: If you're using custom fees through the
woocommerce_cart_calculate_feeshook, ensure they're implemented correctly. Negative fees especially can cause compatibility issues. - Currency and Rounding: Verify your currency settings and consider using the "Add another line item" option for subtotal mismatches.
- Webhook Status: If PayPal fees aren't displaying, check that webhooks are properly configured and processing.
When to Seek Additional Help
If these solutions don't resolve your issue, you might be dealing with a more specific conflict. The 'WooCommerce PayPal Payments' team maintains a GitHub wiki with filters and actions that can help customize the plugin's behavior for specific needs.
Remember that some payment processing behaviors are determined by PayPal's systems rather than the plugin itself. For questions about specific transaction fees or alternative payment methods like Venmo, you may need to consult PayPal's merchant support directly.
Related Support Threads Support
-
Wait, why am I paying the fees?https://wordpress.org/support/topic/wait-why-am-i-paying-the-fees/
-
Fee for Woocommerce PayPal Payment plugin transactionshttps://wordpress.org/support/topic/fee-for-woocommerce-paypal-payment-plugin-transactions/
-
Problem with fee and ?Chache?https://wordpress.org/support/topic/problem-with-fee-and-chache-%f0%9f%a4%94/
-
Paypal chargin sub total onlyhttps://wordpress.org/support/topic/paypal-chargin-sub-total-only/
-
Paypal Payments adding additional costshttps://wordpress.org/support/topic/paypal-payments-adding-additional-costs/
-
Tax not being charged in PayPalhttps://wordpress.org/support/topic/tax-not-being-charged-in-paypal/
-
Paypal is removing products and combining the cost on email receipthttps://wordpress.org/support/topic/paypal-is-removing-products-and-combining-the-cost-on-email-receipt/
-
Venmo transaction charges?https://wordpress.org/support/topic/venmo-transaction-charges/
-
transaction details paypalhttps://wordpress.org/support/topic/transaction-details-paypal/
-
PayPal fees in Analyticshttps://wordpress.org/support/topic/paypal-fees-in-analytics-2/
-
Transaction fee pay by customerhttps://wordpress.org/support/topic/reduce-from-payments/
-
Shipping Rates From PayPalhttps://wordpress.org/support/topic/shipping-rates-from-paypal/
-
Incorrect order details sent to PayPal – customer under chargedhttps://wordpress.org/support/topic/incorrect-order-details-sent-to-paypal-customer-under-charged/
-
PayPal Fee Issuehttps://wordpress.org/support/topic/paypal-fee-issue-2/
-
Incorrect total sent to Paypalhttps://wordpress.org/support/topic/incorrect-total-sent-to-paypal/
-
Avoid listing sub-products when making payments via PayPalhttps://wordpress.org/support/topic/avoid-listing-sub-products-when-making-payments-via-paypal/
-
What’s Subtotal Mismatchhttps://wordpress.org/support/topic/whats-subtotal-mismatch/
-
Display PayPal fee in WC orders tablehttps://wordpress.org/support/topic/display-paypal-fee-in-wc-orders-table/
-
How to charge paypal fees to the customer?https://wordpress.org/support/topic/how-to-charge-paypal-fees-to-the-customer/
-
Overpricinghttps://wordpress.org/support/topic/overpricing-2/
-
I would like to sent only total to PayPalhttps://wordpress.org/support/topic/i-would-like-to-sent-only-total-to-paypal/
-
Wrong total order price on paypalhttps://wordpress.org/support/topic/wrong-total-order-price-on-paypal/
-
Error : Item amount mismatch. Items ditched.https://wordpress.org/support/topic/error-item-amount-mismatch-items-ditched/
-
Paypal feehttps://wordpress.org/support/topic/paypal-fee-3/
-
Item mismatchhttps://wordpress.org/support/topic/item-mismatch/
-
Changing PayPal transaction detailshttps://wordpress.org/support/topic/changing-paypal-transaction-details/
-
PayPal fee not showing in order screenhttps://wordpress.org/support/topic/paypal-fee-not-showing-in-order-screen/
-
Checkout feeshttps://wordpress.org/support/topic/checkout-fees-2/
-
ApplePay shipping method rates showing ex-VAThttps://wordpress.org/support/topic/applepay-shipping-method-rates-showing-ex-vat/
-
Initial PayPal total doesn’t match shop totalhttps://wordpress.org/support/topic/initial-paypal-total-doesnt-match-shop-total/