cancel
Showing results for 
Search instead for 
Did you mean: 

How Can I get transaction or Order Details

Highlighted
Contributor

How Can I get transaction or Order Details

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?