Closed Bug 719149 Opened 12 years ago Closed 12 years ago

Add support for reading data from paypal

Categories

(addons.mozilla.org Graveyard :: Developer Pages, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: clouserw, Assigned: andy+bugzilla)

References

Details

(Whiteboard: [fat][need mockups])

Paypal has an Adaptive Accounts API (https://www.x.com/developers/paypal/products/adaptive-accounts) which has 3 out of 5...uhh...hammers and wrenches worth of difficulty.  Heads up!

Anyway, in the process of setting up a payments for an app (note: this is the part that still needs mockups) we'll give users the option to create a paypal account if they don't have one.  In our magical never-used-this-before world it goes something like:

- User's email is pre-filled in a box where they can either say that's their paypal address or they don't have a paypal account yet
- User clicks they don't have an account
- Stuff happens!
- User is forwarded to paypal to make a password
- User comes back to us, they have an account

We'll integrate this into AMO in a better way once we have the mockups but we can definitely get going on the backend.
Priority: -- → P1
Assignee: nobody → amckay
Target Milestone: --- → 6.4.0
- User will enter their paypal email, we'll bounce over to paypal with that email asking permission to read their data
- When they give it, we read all their data they provided.

- For new paypal users, they go to paypal make an account and come back, then bounce over again to give permission.

In this bug, let's focus on the ability to read the information off of paypal given an email address. Then we plug this into the flow when it's ready.
Summary: Add support for creating paypal accounts automatically → Add support for reading data from paypal
In review, but added the paypal permissions checks and data lookup backend.

>>> import paypal
>>> data = paypal.get_personal_data('....fqUvErS.KA')
>>> data['city']
'San Jose'
>>> data['email']
'mozzy_1296059757_biz@gmail.com'

etc.

I will probably bump the rest off this till we get the front end mocks.
Target Milestone: 6.4.0 → 6.4.1
https://github.com/mozilla/zamboni/commit/df2889
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.