I'm not able to get payments made on my website through wp paypal

paulovinicius
Contributor
Contributor

Hi,

 

I'm creating payments on my website using the plugin wp paypal of wordpress.
And after the payment is created, I want my Java application identify this payment, so I can do other things.

 

How can I get the payments information?

I'm trying to use the https://api.paypal.com/v1/payments/payment, but I'm getting only one payment of 1 BRL that I made.. I want to get the payments made on the website.

 

Anyone can help me please?

Thanks

Login to Me Too
3 REPLIES 3

MTS_Andre
Moderator
Moderator

Hi, that's correct, the v1/payments/payment will list all the payments that:

 

1) have been processed by the same API user

2) have been processed via REST APIs only (not classic NVP APIs)

 

Double check that you are in one of these 2 cases and eventually you can try to range your results using start_time and end_time parameters in the link I posted above for v1/payments/payment

Login to Me Too

paulovinicius
Contributor
Contributor

Thanks Andre,

 

I guess as I'm creating the payments through my website using the plugin wp paypal of wordpress, it is not been used Rest API.

So, I can't get the payments information using Rest API, as you also said. Do you know how can I get those informations?

 

I'm lost, I do'nt know how to get started on this..

 

Thanks

Login to Me Too

MTS_Andre
Moderator
Moderator

Hi, in this case you are processing using the classic APIs then you need to use the TransactionSearch API to list all those transactions.

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.