How to find transaction status In PAYPAL using API - paypal

How to find PAY-PAL transaction status using PAY-PAL using C#?
Which API call will give the transactions details?
Hi,
How to find PAY-PAL transaction status using PAY-PAL using C#?
Which API call will give the transactions details?

Related

Paypal Array returning success message but payment not getting process i am using laravel and express-checkout

PayPal retuning me the success array but the payment not getting ** processed** please help me.
enter image description here
Why are you using the classic express checkout API? That is almost 20 years old. You should be using the v2/checkout/orders API, with the Checkout-PHP-SDK or similar. See the information and links for a server integration within Set up standard payments.
The problem with your "payment not getting processed" is that no payment has been executed or captured. After payer approval, it is required to execute a DoExpressCheckoutPayment API call (classic API) -- or similarly with the current API, an orders capture API call.

I want to know about TransactionSearch API ( which is deprecated ) for 2017 on PayPal

I know before 2017, the PayPal provides the Api which I can get all the transaction history via Rest API .
that is TransactionSearch using NVP.
but PayPal says it has been deprecated.
so I want to know ,how can I get transaction history via PayPal API.
Looking forward your help.
Although PayPal deprecated the classic API, you can also use all of the classic APIs(containing TransactionSearch API), PayPal just will not renew or develop new feature. But all of current functions can be used.
And if you want to use transaction search function under REST API, please refer following URL.
https://developer.paypal.com/docs/integration/direct/payments/paypal-payments/?mark=list%20payment#search-payment-details
Please refer "List payments with transaction details" section.
API document: https://developer.paypal.com/docs/api/payments/#payment_list

How can i find a transaction in paypal which is not made via rest api?

I am not able to find payment or sale object in paypal with the txn_id returned in IPN message. I want to process refund via rest api call for such transactions.
In general, you can perform a refund via REST API call only if your transaction was made via REST. Anyway, it depend of the flow that the transaction followed...
If you want provide further details, I will be more than happy to provide more information about.
Thank you in advance.

How to get the transaction history from paypal?

I dont know how to get transaction history in paypal.I have go through the rest api for the paypal.
And found following api to fetch transaction history.
https://api.paypal.com/v1/payments/sale/id
I dont know what could be sales id here.And do i just need to enter the url in browser.
Is there any particular reason you HAVE to use the REST API? I personally prefer the classic API's at this point because their REST API just doesn't have all the same features yet.
For your case, the classic API includes TransactionSearch and GetTransactionDetails which can help you pull history and details about specific transactions.

Get transaction by invoiceId in paypal api

I'm looking for the correct endpoint to use in the Paypal API for looking up a transaction by invoice id. We submit the invoice id to paypal when redirecting customers to PayPal for payment on their site. In order for us to resolve abandoned carts correctly, I need to look these invoice ids back up in paypal to see if there are completed transactions or not. Thanks.
You can use the TransactionSearch API, and use the INVNUM as the criteria to search by. The API Endpoint will depend on if you are trying this on live or sandbox, what type of format you are using, and what type of authentication you are using. You can find a list of the endpoints here.