I run a site, an IRC server, and several game servers from my VDS, and I'm entirely dependent on donations to keep it running, since I live in a small town where there's one job to one thousand people, so employment is scarce, and money even more so.
I used to use a separate PayPal account, and asked people to donate there so I can use the PayPal API to display the donation progress on my site. However, recently PayPal changed their terms of service, and blocked off all PayPal API access from those who aren't running business or enterprise accounts.
So, now... I'm stuck. I don't run my own business currently, and PayPal refuses to help. I had to gut the PayPal API stuff from my site, since it would refuse to load (thanks to them revoking all non-business API keys)
I'm hoping someone in the NFOServers staff can take a bit, just to offer a simple means of retrieving our coffer amount.
It doesn't have to be complicated, it can just be an URL that takes an API Key, a UserID, and returns the value as JSON.
Something like this:
Code: Select all
$api_url = http://api.nfoservers.com/GetCoffer/?key=<api key>&userid=<some unique user id number (or email addr)>
$json = json_decode(file_get_contents($api_url), true);
$coffer_amount = $json["response"]["coffer"][0]["amount"];