Transaction Status API

mahesh123
Contributor
Contributor

I am a PHP developer. I need an API to check the current status of a particular payment that is already done, even if the payment is a success, failure or pending. Thank You.

Login to Me Too
1 REPLY 1

angelleye
Advisor
Advisor

What type of payments are you working with? PayPal Standard buttons? Classic Express Checkout APIs? REST Checkout APIs?

 

If you're working with Standard or Classic APIs, you can use the GetTransactionDetails API to pull specific info, including payment_status, for a transaction.  If you're working with REST APIs you can use GetOrder.

 

In either case you would get back a status.

 

 

Angell EYE - www.angelleye.com
PayPal Partner and Certified Developer - Kudos are Greatly Appreciated!
Login to Me Too

Haven't Found your Answer?

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