title: paypal, php - integrate a paypal payment into a website
body: <p>Good day to all.</p>
  
  <p>I have a booking site. Here I need to integrate a paypal payment.</p>
  
  <p>Scenario is like this: X enters into the site, fill in a form with a lot of details (name, period, room type, whatever... about 20 fields). The details are sent to a script that calculate the price.</p>
  
  <p>Now what I need is to get the user to pay. I must use authorization &amp; capture to do this (in order to be able to cancel a payment during the time limit of course).</p>
  
  <p>First try was to generate a pay now button. But this kind of request a fixed price (and mine is generated).</p>
  
  <p>Second was an add to cart button. Same thing.</p>
  
  <p>After some research I found that express checkout is what I need (I think... not sure). I used the code generator from <a href="https://www.paypal-labs.com/integrationwizard/ecpaypal/code.php" rel="noreferrer">https://www.paypal-labs.com/integrationwizard/ecpaypal/code.php</a>. </p>
  
  <p>The problem is that this one require some shipping details also and other useless things. Also I don't see where I fill the visitors name/credit/whatever...</p>
  
  <p>I just want a simple payment. Is anyway I can use a form and send the values to a specified address? Or something like that? Like you know... any normal API.</p>