New to the community? Welcome! Please read our Community Rules and Guidelines
Pay, shop, and do even more on the PayPal appGet the App
How can I find a transaction by my order id number(not paypal id number)? its the invoice_id.
If I search by paypal id number, my invoice_id is here
$transaction_invoiceid = $order->result->purchase_units[0]->invoice_id;
I would like to search by that number
Thank you
Good day @stccorp,
Thank you for posting to the PayPal community.
Currently, merchant can use the "Show order details" REST API call to get the order details.
https://developer.paypal.com/docs/api/orders/v2/#orders_get
Also, can use the "Transaction Search API" to get the history of transactions for a PayPal account.
https://developer.paypal.com/docs/api/transaction-search/v1/
Sincerely,
Chiranjeevi
PayPal/Braintree MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.
©1999-2023 PayPal, Inc. All rights reserved.