Support » Plugin: PayPal for WooCommerce » Item amount must add up to specified amount subtotal

  • I receive this error when trying to execute a payment

    Item amount must add up to specified amount subtotal

    In Woocommerce I add my prices with tax included and I also have free shipping enabled.

    When I look at the debug log I can see that the total amount and total tax are correctly calculated.

    Also I can see that the tax is NOT added to the item in the item list.
    That’s why the calculation fails.

    [amount] => PayPal\Api\Amount Object
        (
            [_propMap:PayPal\Common\PayPalModel:private] => Array
                (
                    [total] => 80.00
                    [currency] => EUR
                    [details] => PayPal\Api\Details Object
                        (
                            [_propMap:PayPal\Common\PayPalModel:private] => Array
                                (
                                    [subtotal] => 67.23
                                    [tax] => 12.77
                                    [shipping] => 0.00
                                )
                        )
                )
        )
    [item_list] => PayPal\Api\ItemList Object
        (
            [_propMap:PayPal\Common\PayPalModel:private] => Array
                (
                    [items] => Array
                        (
                            [0] => PayPal\Api\Item Object
                                (
                                    [_propMap:PayPal\Common\PayPalModel:private] => Array
                                        (
                                            [name] => Katzentoilette Poopoopeedo - Farbe: Schwarz
    
                                            [price] => 67.23
                                            [currency] => EUR
                                            [quantity] => 1
                                        )
                                )
                        )
                )
        )

    Can this be fixed without modifying the plugin by myself ?

    Kind regards
    Peter

    https://wordpress.org/plugins/paypal-for-woocommerce/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor angelleye

    (@angelleye)

    Are you working with PayPal Plus?

    Yes, I’m using Paypal PLUS.

    Additionally I just realized that the tax rules (from Table Rate Shipping Plugin) are not considered.

    E.g: No tax is calculated for orders from Switzerland (CH).
    With the default payment providers from Woocommerce this is working

    Plugin Contributor angelleye

    (@angelleye)

    Ok, thanks for the feedback. I’ll have to get the developers to test this out and see if we can reproduce the problem.

    We’re working to get our 1.2 update released. I’ll add this to 1.2.1 which will follow shortly behind that.

    Thanks for this update.

    If you need any additional information to help you solve this issue feel free to contact me.

    Thanks
    Peter

    I just want to ask politely if there are any news on this ?

    Thanks
    Peter

    Plugin Contributor angelleye

    (@angelleye)

    No, sorry. We’ve been a little delayed with our 1.2 release, but it shouldn’t be too much longer. Then, as I mentioned before, we’ll work on this for the 1.2.1 follow up.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Item amount must add up to specified amount subtotal’ is closed to new replies.