title: How to get transaction details in notify_url page in paypal
body: <p>In paypal notify_url page I am not getting any values when I use cmd value as _cart.How can  I get the transaction details in notify_url page</p>
  
  <pre><code>&lt;form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="POST" name="_xclick" id="paypal_form"&gt;
  &lt;input type="hidden" name="upload" value="1" /&gt;
  &lt;input type="hidden" name="cmd" value="_xclick" /&gt;
  &lt;!-- The business email address, where you want to receive the payment --&gt;
  &lt;!--&lt;input type="hidden" name="business" value="yesidealpayment@gmail.com" /&gt;--&gt;
  &lt;input type="hidden" name="business" value="arun_1260247381_per@galtechsupport.us" /&gt;
  &lt;!-- The customer email address --&gt;
  
  &lt;input type="hidden" name="item_name_1" value="&lt;?php echo ucfirst($couponname); ?&gt;" /&gt;
  
  &lt;input type="hidden" name="amount_1" value="&lt;?php echo $total_payable_amount; ?&gt;" /&gt;
  &lt;!--&lt;input type="hidden" name="currency_code" value="AUD" /&gt;--&gt;
  &lt;input type="hidden" name="currency_code" value="USD" /&gt;
  
  &lt;input type="hidden" name="amount" value="25.58" /&gt; 
  &lt;!-- Where you want to return after PayPal Payment --&gt;
  &lt;input type="hidden" name="return" value="http://yes-i-deal.com.au/test/paypal_ipn.php" /&gt;
  &lt;!-- A back-end notification send to the specific page after successful payment  --&gt;
  &lt;!--&lt;input type="hidden" name="notify_url" value="http://yes-i-deal.com.au/test/paypal.php" /&gt;--&gt;
  &lt;input type="hidden" name="notify_url" value="http://yes-i-deal.com.au/test/paypal_ipn.php" /&gt;
  &lt;!-- Where you want to return after cancel the PayPal Payment  --&gt;
  &lt;input type="hidden" name="cancel_return" value="http://yes-i-deal.com.au/" /&gt;
  &lt;input type="hidden" name="custom" value="&lt;?php echo $coupon_id."_".$userid;?&gt;" /&gt;  
  
  
  
  
              &lt;input type="image" name="submit"   src="http://yes-i-deal.com.au/themes/green/images/Buy-Now-Button.png" /&gt;
  &lt;/form&gt; 
  </code></pre>
  
  <p>In my notify_url page I am getting values as </p>
  
  <pre><code> session_start(); 
  require("ipn_cls1.php");
   $paypal_info = $_POST; 
  print_r($paypal_info); 
  $paypal_ipn = new paypal_ipn($paypal_info); 
  $payment_status = trim($paypal_info['payment_status']); // Si Completed : tout est OK echo 
  $payment_amount = trim($paypal_info['mc_gross']);
  </code></pre>