How Can I get transaction or Order Details
subhasshow
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Sep-24-2019
11:22 PM
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?
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.
Related Content
- Assistance Needed: Passing and Retrieving Custom Data in PayPal Webhook Payload in PayPal Payments Standard
- Selected Shipping Method amount not updating to cart for card payment in SDKs
- Inquiry About Documentation and Support for Tokenization and Future Payment in Payflow
- PayPal Express Error #10413 when people use a discount code on my Magento2 store in PayPal Payments Standard
- Suspect orders yet payment accepted without AVS in PayPal Payments Standard