Paypal error Item amount must add up to specified amount subtotal

paypal

Solution

Please set price under items as 0.12. You are shipping 2 items for a total amount of 0.24 so it should have be 0.24 / 2 = 0.12. Assuming the unit price is 0.12, You have correctly set the total amount as 0.24

Problem

I'm using PayPal's REST API from my .Net MVC 4 Razor website. On creating a payment I've traced the following request and response through fiddler: Can anyone explain what's causing the error please? The transactions amount total and items price is both 0.24 so I can't understand why the error.

Original source