title: custom cart paypal standard integration
body: <p>I would like to get some help on how to setup paypal payment with a custom cart.
  At the end of the product selection I would like to give the user payment options. when choosing paypal I would like to reroute to paypal with the total amount due so the user can make a payment. I am  trying to do so with the following form</p>
  
  <pre><code>&lt;form action="https://www.paypal.com/cgi-bin/webscr" method="post"&gt;  
  
   &lt;input type="hidden" name="cmd" value="_cart"&gt;  
   &lt;input type="hidden" name="business" value="business login?"&gt;  
   &lt;input type="hidden" name="item_name" value="hat"&gt;  
   &lt;input type="hidden" name="item_number" value="123"&gt;  
   &lt;input type="hidden" name="amount" value="15.00"&gt;  
   &lt;input type="hidden" name="first_name" value="John"&gt;  
   &lt;input type="hidden" name="last_name" value="Doe"&gt;  
   &lt;input type="hidden" name="address1" value="any Street"&gt;  
   &lt;input type="hidden" name="address2" value="Apt 5"&gt;  
   &lt;input type="hidden" name="city" value="any town"&gt;  
   &lt;input type="hidden" name="state" value="CA"&gt;  
   &lt;input type="hidden" name="zip" value="00000"&gt;  
   &lt;input type="hidden" name="night_phone_a" value="610"&gt;  
   &lt;input type="hidden" name="night_phone_b" value="555"&gt;  
   &lt;input type="hidden" name="night_phone_c" value="1234"&gt;  
   &lt;input type="hidden" name="email" value="name@mail.com"&gt;  
  
  
   &lt;INPUT TYPE="hidden" NAME="currency_code" value="CurrencyCode"&gt;
  
  
   &lt;input type="image" name="submit" border="0" src="https://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif"  alt="PayPal - The safer, easier way to pay online"&gt;  
  
   &lt;img alt="" border="0" width="1" height="1"  src="https://www.paypal.com/en_US/i/scr/pixel.gif" &gt;  
  &lt;/form&gt; 
  </code></pre>
  
  <p>When I submit this form , paypal only recognizes the seller ( the name is shown in the page)  but no other parameters. I also get this message :"We have detected a problem with this shopping cart. If the problem persists, please contact the merchant."
  Any idea what I am doing wrong?
  I greatly appreciate the help.</p>
  
  <p>ps:I would like to specify that I am doing this from a local server. I don't know if paypal require the seller to register a URL first. if so do you know here I would have to do that on the paypal account?</p>