Jump to content

PayPal transection ID


manalnor

Recommended Posts

Hi,

 

How to get paypal transection id on return after someone pay

 

if i've paypal payment form as following

 

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="<?=$line[paypalid]?>">
<input type="hidden" name="item_name" value="Payment Your Hits">
<input type="hidden" name="item_number" value="1">
<input type="hidden" name="amount" value="<?=$usd?>">
<input type="hidden" name="no_shipping" value="0">
<input type="hidden" name="no_note" value="payment from website submittion">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="lc" value="AU">
<input type="hidden" name="bn" value="PP-BuyNowBF">
<input type="hidden" name="return" value="<?=$site_root?>/return.php?id=<?=$line[id]?>">
<button type="submit" class="clean-green">Pay Now</button>
</form>

 

on return i will get it by id which is <?$line[id]?>

but i want to get the transection id of payment too

 

how it comes ?

Link to comment
https://forums.phpfreaks.com/topic/215237-paypal-transection-id/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.