I am designing and building a website for a non-profit. They want a PayPal Donate button and I'd like to be able to show how much they've raised so far.
I am not familiar enough with the PayPal API to even get close. So all I need to know is how to get the total amount donated as an integer value so that I can divide that by the amount needed and get a percentage.
Is anyone the least bit familiar with how to do this?
Never played with paypal API, but they have code samples:
Paypal Code Samples
this is their getBalance code sample: