Add support for reading data from paypal

RESOLVED FIXED in 6.4.1

Status

addons.mozilla.org Graveyard
Developer Pages
P1
normal
RESOLVED FIXED
6 years ago
2 years ago

People

(Reporter: clouserw, Assigned: Andy McKay)

Tracking

unspecified
6.4.1

Details

(Whiteboard: [fat][need mockups])

(Reporter)

Description

6 years ago
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.
(Reporter)

Updated

6 years ago
Priority: -- → P1
(Assignee)

Updated

6 years ago
Assignee: nobody → amckay
(Assignee)

Updated

6 years ago
Target Milestone: --- → 6.4.0
(Assignee)

Comment 1

6 years ago
- 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
(Assignee)

Comment 2

6 years ago
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.
(Reporter)

Updated

6 years ago
Target Milestone: 6.4.0 → 6.4.1
(Assignee)

Comment 3

6 years ago
https://github.com/mozilla/zamboni/commit/df2889
Status: NEW → RESOLVED
Last Resolved: 6 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.