manalnor Posted October 5, 2010 Share Posted October 5, 2010 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 More sharing options...
schilly Posted October 5, 2010 Share Posted October 5, 2010 print out the array of data they send you and see what's in it. I know for IPNs it's under txn_id. Link to comment https://forums.phpfreaks.com/topic/215237-paypal-transection-id/#findComment-1119418 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.