How Can I get transaction or Order Details

subhasshow
Contributor
Contributor

Hello,

 

Hope all is well for everyone.

I was trying to figure out some php/curl code, also trying to use rest api sdk directly.

When paypal payment done and it returns, it returns a variable $_REQUEST['tx'], (in PHP way).

Based on that later can I find the transaction or order details?

 

I tried various code..

 

//$order = new Order();
//$order->setId('7J683253T2978883L');
//print_r($order->get('1L694554GF8893017' , $apiContext , ''));
//$payment = Payment::get('7J683253T2978883L', $apiContext);

 

nothing worked..

can anyone help?

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.