Closed Bug 1100810 Opened 10 years ago Closed 10 years ago

EOY 2014 - Build a web service that fetches and caches the current balance of our PayPal account

Categories

(Mozilla Foundation Communications :: Website, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mavis, Assigned: mavis)

References

Details

(Whiteboard: [EOYFR2014][studio mofo][f.m.o][p1])

Attachments

(1 file)

58 bytes, text/x-github-pull-request
Details | Review
Build a web service that fetches and caches the current balance of our PayPal account.

The balance will be used to feed the counter on EOY 2014 version of fundraising.mozilla.org (see staging: http://fundraising2.mofostaging.net/ ) and potentially a banner on mozilla.org (see Bug 1086950)

This web service should return "amount" and "timeUpdated" in json format.
Assignee: nobody → simon
Flags: needinfo?(simon)
Whiteboard: [EOYFR2014][studio mofo][f.m.o][p1] → [EOYFR2014][studio mofo][f.m.o][p2]
Assignee: simon → mavis
Removing flag on Simon as this bug has been triaged.
Flags: needinfo?(simon)
Whiteboard: [EOYFR2014][studio mofo][f.m.o][p2] → [EOYFR2014][studio mofo][f.m.o][p1]
Attached file GitHub PR
Attachment #8525508 - Flags: review?(bobby)
Just for an update here:
- Mavis noticed that we were using the wrong API call. So, patches above are invalid.
- Waiting on PayPal to get back to us about API auth.
Attachment #8525508 - Flags: review?(bobby)
This no longer blocks Bug 1085664, as this is not a blocker for our site launch today.
Blocks: 1104223
No longer blocks: 1085664
Blocker now:

We are hoping to not use our primary PayPal credentials, since it has full privilege.  Will contact PayPal support and see if we are able to obtain a 2nd set of creds.
Updates:

Called PayPal tech support and it seems like there's no way to have more than 1 set of creds.

jbuck is working on setting up a database(yay our own database!) where our PayPal records can end up living. I'm going to wait for that db is in place - that way I can query the db directly instead of making endless API calls and manually calculate the total.
Depends on: 1105471
turned out we don't need to use the cache server - we are getting data from cloudfront straight
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: