title: PayPal API: The totals of the cart item amounts do not match order amounts
body: <p>There are a lot of posts about this error, but they all not apply on me. I really don't understand why the amounts wouldn't match. I have ITEMAMT which matches AMT0 * QTY0. And AMT matches ITEMAMT + SHIPPINGAMT. I checked the docs over and over and it really should work this way. It works when I totally remove the shipping out of it...</p>
  
  <p>The AMT in the checkout url is 73.9 too.</p>
  
  <p>I really hope someone is familiar with this very confusing error, and knows what I am doing wrong...</p>
  
  <p>Thanks in advance</p>
  
  <pre><code>Array
  (
      [TIMESTAMP] =&gt; 2013-01-24T22:56:09Z
      [CORRELATIONID] =&gt;
      [ACK] =&gt; Failure
      [VERSION] =&gt; 62.0
      [BUILD] =&gt; 4181146
      [L_ERRORCODE0] =&gt; 10413
      [L_SHORTMESSAGE0] =&gt; Transaction refused because of an invalid argument. See additional error messages for details.
      [L_LONGMESSAGE0] =&gt; The totals of the cart item amounts do not match order amounts.
      [L_SEVERITYCODE0] =&gt; Error
  )
  Array
  (
      [PAYMENTREQUEST_0_PAYMENTACTION] =&gt; Sale
      [L_PAYMENTREQUEST_0_NAME0] =&gt; XXXX
      [L_PAYMENTREQUEST_0_NUMBER0] =&gt; 30533
      [L_PAYMENTREQUEST_0_DESC0] =&gt; XXXX
      [L_PAYMENTREQUEST_0_AMT0] =&gt; 30.95
      [L_PAYMENTREQUEST_0_QTY0] =&gt; 2
      [PAYMENTREQUEST_0_ITEMAMT] =&gt; 61.9
      [PAYMENTREQUEST_0_TAXAMT] =&gt; 0
      [PAYMENTREQUEST_0_SHIPPINGAMT] =&gt; 12
      [PAYMENTREQUEST_0_INSURANCEAMT] =&gt; 0
      [PAYMENTREQUEST_0_AMT] =&gt; 73.9
      [PAYMENTREQUEST_0_CURRENCYCODE] =&gt; USD
      [REQCONFIRMSHIPPING] =&gt; 1
      [PAYMENTREQUEST_0_SHIPTOSTREET] =&gt; XXXX
      [PAYMENTREQUEST_0_SHIPTOCITY] =&gt; XXXX
      [PAYMENTREQUEST_0_SHIPTOSTATE] =&gt; XX
      [PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE] =&gt; XX
      [PAYMENTREQUEST_0_SHIPTOZIP] =&gt; XXXXXX
      [PAYMENTREQUEST_0_SHIPTOPHONENUM] =&gt; XXXXXXXX
  )
  </code></pre>