I am working with a paypal checkout in php
after successful postback from paypal I am getting all transaction details using print_r($_REQUEST, 1);
with this piece of line it is saving full bunch of array data like below
Array
(
[route] => payment/pp_standard/callback
[mc_gross] => 130.00
[invoice] => 42 - sala uddin
[protection_eligibility] => Eligible
[item_number1] => Product 14
[mc_fee] => 5.37
[txn_id] => 8BX904469F430674P
)
I need to get only [txn_id]
How can I get only [txn_id]
from above