title: Paypal shopping cart AMOUNT_ERROR
body: <p>I am having a issue with a paypal cart since the update around march (bit late but the site is not used yet and we just discovered it now).</p>
  
  <p>I already checked this question but it did not solve the issue for a shopping cart (<a href="https://stackoverflow.com/questions/43637900/paypal-hosted-button-payments-fail-with-code-amount-error">Paypal : hosted button payments fail with code=AMOUNT_ERROR</a>)</p>
  
  <p>We send a object that contains the request data through a plugin called neo.js, this works fine as far as we know.
  This is our data we send to paypal as a js object.</p>
  
  <pre><code>{
      amount_1:        10.01,
      business:        "noreply@domain.com",
      cancel_return:   "https://dev.domain.com",
      charset:         "utf-8",
      cmd:             "_cart",
      currency_code:   "US",
      custom:          "username",
      item_name_1:     "$10 item",
      item_number_1:   "1",
      no_shipping:     1,
      notify_url:      "https://dev.domain.com/callback/paypal.php",
      quantity_1:      1,
      return:          "https://dev.domain.com",
      upload:          1
  }
  </code></pre>
  
  <p>It has to do something with the amount, but using a , instead of . but that only gives a normal error message on screen that the format is incorrect.
  We have tried multiple things including the dollar sign and making it a string but nothing seem to be working.</p>