title: Paypal Instant Update API - MAXAMT Error
body: <p>since hours I try to solve the following error from the <a href="https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&amp;content_ID=developer/e_howto_api_ECInstantUpdateAPI" rel="nofollow">paypal Instant Update API</a></p>
  
  <pre><code>[L_ERRORCODE0] =&gt; 11832
  [L_SHORTMESSAGE0] =&gt; Maximum amount of order is less than itemized amounts.
  [L_LONGMESSAGE0] =&gt; Maximum amount of order is less than itemized amounts.
  </code></pre>
  
  <p>Here is the Request:</p>
  
  <pre><code>Method: SetExpressCheckout
  Request: 
  Formatted Request: Array
  (
      [PAYMENTREQUEST_0_AMT] =&gt; 3.00
      [PAYMENTREQUEST_0_CURRENCYCODE] =&gt; EUR
      [PAYMENTREQUEST_0_ITEMAMT] =&gt; 1.00
      [PAYMENTREQUEST_0_SHIPPINGAMT] =&gt; 1.00
      [PAYMENTREQUEST_0_NOTIFYURL] =&gt; http://www.eee.de/ipn.php
      [PAYMENTREQUEST_0_CALLBACK] =&gt; http://www.eee.de/ajax.php?action=eee
      [PAYMENTREQUEST_0_MAXAMT] =&gt; 11.00
      [LOGO] =&gt; https://www.eee.de/template/img/logo-eee.png
      [CANCELURL] =&gt; http://eee.de/bestellung.php?paypal_express=cancel
      [RETURNURL] =&gt; http://eee.de/bestellung.php?paypal_express=return
      [L_PAYMENTREQUEST_0_AMT0] =&gt; 1.00
      [L_PAYMENTREQUEST_0_NAME0] =&gt; Item
      [L_PAYMENTREQUEST_0_DESC0] =&gt; Desc
      [L_PAYMENTREQUEST_0_QTY0] =&gt; 1
      [L_PAYMENTREQUEST_0_NUMBER0] =&gt; 123
      [CALLBACKVERSION] =&gt; 82.0
      [CALLBACK] =&gt; http://www.eee.de/ajax.php?action=ppe_shipping
      [L_SHIPPINGOPTIONISDEFAULT0] =&gt; true
      [L_SHIPPINGOPTIONNAME0] =&gt; UPS0
      [L_SHIPPINGOPTIONAMOUNT0] =&gt; 1.00
      [L_SHIPPINGOPTIONISDEFAULT1] =&gt; false
      [L_SHIPPINGOPTIONNAME1] =&gt; UPS2
      [L_SHIPPINGOPTIONAMOUNT1] =&gt; 2.00
      [L_SHIPPINGOPTIONISDEFAULT2] =&gt; false
      [L_SHIPPINGOPTIONAMOUNT2] =&gt; 3.00
      [PAYMENTREQUEST_0_INSURANCEOPTIONOFFERED] =&gt; true
      [PAYMENTREQUEST_0_INSURANCEAMT] =&gt; 1.00
  )
  </code></pre>
  
  <p>I tried every combination of values</p>
  
  <p>this is the response from the Callbackurl:</p>
  
  <pre><code>METHOD=CallbackResponse
  &amp;OFFERINSURANCEOPTION=true
  &amp;L_SHIPPINGOPTIONNAME0=UPS0
  &amp;L_SHIPPINGOPTIONAMOUNT0=1.00
  &amp;L_INSURANCEAMOUNT0=1.00
  &amp;L_SHIPPINGOPTIONISDEFAULT0=true
  &amp;L_SHIPPINGOPTIONNAME1=UPS1
  &amp;L_SHIPPINGOPTIONAMOUNT1=2.00
  &amp;L_INSURANCEAMOUNT1=1.00
  &amp;L_SHIPPINGOPTIONISDEFAULT1=false
  &amp;L_SHIPPINGOPTIONNAME2=UPS2
  &amp;L_SHIPPINGOPTIONAMOUNT2=3.00
  &amp;L_INSURANCEAMOUNT2=1.00
  &amp;L_SHIPPINGOPTIONISDEFAULT2=false
  </code></pre>
  
  <p>As far as I understand, the MAXAMT value is the total of items + max shipping + tax + factor x so why to hell does it compare it this way? 11.00 &lt; 3.00 (3.00 = item+shipping+insurance)</p>
  
  <p>I am totally lost!
  Thanks for any hint!</p>