title: Paypal shows error message despite successful payment transfer
body: <p>This is the first time i am integrating Paypal in a website. I have made two sandbox accounts for testing. The payments are successfully made but when it redirects to my success.php page I get the error message that payment failed. Here is my success.php page</p>
  
  <pre><code>echo $item_no            = $_REQUEST['item_number'];
  echo $item_transaction   = $_REQUEST['tx']; // Paypal transaction ID
  echo $item_price         = $_REQUEST['amt']; // Paypal received amount
  echo $item_currency      = $_REQUEST['cc']; // Paypal received currency type
  
  echo $price = '10.00';
  echo $currency='USD';
  
  //Rechecking the product price and currency details
  if($item_price==$price &amp;&amp; $item_currency==$currency)
  {
  echo "&lt;h1&gt;Welcome, Guest&lt;/h1&gt;";
  echo "&lt;h1&gt;Payment Successful&lt;/h1&gt;";
  echo "&lt;h1&gt;Click on the following link to get your code&lt;/h1&gt;";
  ?&gt;
  &lt;a href="complete.php?tx=&lt;?php $item_transaction; ?&gt;"&gt;Click Here&lt;/a&gt;
  &lt;?php
  }
  else
  {
   echo "&lt;h1&gt;Payment Failed&lt;/h1&gt;";
  }
  </code></pre>
  
  <p>I have tried to echo the four values but they do now show up. I do not get an error message such as $item_no not defined or $_REQUEST['item_number'] not defined either. </p>
  
  <p>Can anybody help?</p>