Get information about donation - paypal

I have on my website paypal donation button.
How I can get all information from my paypal account about donations. Maybe exist API request or some XML feed.
Thanks.

You may want to check out PayPal IPN's
https://developer.paypal.com/webapps/developer/docs/classic/products/instant-payment-notification/

This is solution:
Method: https://developer.paypal.com/docs/classic/api/merchant/TransactionSearch_API_Operation_NVP/
NVP: https://developer.paypal.com/docs/classic/api/NVPAPIOverview/
Thank you!

Related

Recurring payments and IPN notifications

Can anyone assist me to understand and find answers to following questions:
When first notification (IPN) occurs for recurring payment. Will it be with initial payment or no?
Does notifyurl URL itself, which PayPal calls, contains some token for validation (i.e. https://someurl.com/callback/[validation-token])?
Thank you!
Found interface (link) to monitor those notifications.
Therefore now I can answer my question myself :)
Yes it does.
Looks like no. After I have setup notify URL from PayPal console (link) my callback URL did not contained some suffix. Validation token itself is present in notification message
If you have any corrections kindly let me know.

PayPal Subscription Failed Payment Webhook flow

i was wondering what webhook is sent when a subscription payment fails?. I wish to downgrade a user on my website if a payment isn't made/fails. but im unsure if the 'Billing.Subscription.Cancelled or Billing.Subscription.Suspended is sent.' I have the "max_fail_attempts": "1".
Thanks
Paypal apis & documents are suck. you can check this link
https://www.paypal-community.com/t5/Webhooks-REST-APIs/regarding-webhook-of-billing-agreement/td-p/1450631
I never see this callback sent, now i give up these webhooks and try IPN instead, hope it works.
there is another link maybe help, in 2015 guys said webhooks supports for recurring payment is in progress, I think it still in progress now.
https://github.com/paypal/PayPal-PHP-SDK/issues/242

Get paypal ruccuring payment details

I am using PayPal payment gateway for recurring payment purpose but i want to get details of each done weekly/monthly/yearly payment when payment made on each recurrence .
Can anybody help me? or suggest me how can i check recurring payment has made or not& get there details for each week/month/year.
Thanks
Amol
i got solution
I have set notification url in my paypal account
this url hit every transaction so i got all details for that transaction when transaction done.
Notification url is url of my project where i want request data.

Paypal REST API Process

Please correct me if I am wrong regarding my understanding about Paypal Rest Api process.
In reference to the links below:
https://developer.paypal.com/docs/integration/direct/create-billing-plan/
https://github.com/paypal/PayPal-node-SDK/blob/master/samples/subscription/billing_plans/create.js
I came up to a conclusion that in order for the paypal api to work, the merchant must create:
A custom button
The button must create a request to paypal in other words the merchant must manually fill out the JSON object stated on:
https://github.com/paypal/PayPal-node-SDK/blob/master/samples/subscription/billing_plans/create.js
with the merchant's product info.
Pass the request to paypal
Store the paypal response to your database.
Please advise, there are too few information out there. Thank you.
I figured it out, my question above is confirmed except that you need to active the created billing plan.
https://developer.paypal.com/docs/integration/direct/create-billing-plan/#activate-the-billing-plan

How to check the Paypal account has been verifeid or not

How to check the user's Paypal account has been verified or not.
We have used the below link to check the status of Paypal account,
https://www.paypal.com/verified/pal=
But this link is not working now.
So, can you help me how to check the verified status of the Paypal account.
You could use the getVerifiedStatus API to verify the specific account's status.
However you need to submit your application request to make the API call.
Please refer the guide for adaptive accounts.
The detailed parameters for getVerifiedStatus API can be found here.
This link is working in 2018
https://www.paypal.com/cgi-bin/webscr?cmd=_status
You should be logged in first, after that open this link ...
Thanks