Check with paypal that a paypal id is...

RESOLVED FIXED in 6.2.4

Status

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

People

(Reporter: andym, Assigned: andym)

Tracking

Details

(Whiteboard: [t:muffin])

(Assignee)

Description

6 years ago
When a developer gives us their paypal id, we already check that the paypal id is ok.

https://github.com/jbalogh/zamboni/blob/master/apps/paypal/__init__.py#L89

This is fine for contributions. For the marketplace we'll need to add a check for "third-party access":

"A receiver can grant you third-party access to make a refund by logging in to PayPal, choosing API Access on the Profile page, then clicking the link to Grant API permission and selecting Refund after clicking Configure a custom API authorization."

According to the paypal Adaptive Payments docs.
I'm not sure what API this is, but it has definitely come up plenty.

It would be nice to reveal this on the user detail page with a "verify" button that an admin could press to hit the API and double check.

There will be more UI around all this though, so if you just want to write a function to verify this off the user model that's fine for now too.
Priority: -- → P1
Target Milestone: --- → 6.2.1
    PayPal's permissions API provides a way to determine whether they've done this, and provide them with a prompt to grant this access. 

    (fligtar says paypal claims that if this access is revoked the full refund amount will be withdrawn from the developer account - we should test this)
Priority: P1 → --
Target Milestone: 6.2.1 → ---

Updated

6 years ago
Priority: -- → P1
Target Milestone: --- → 6.2.1
Target Milestone: 6.2.1 → 6.2.2
sounds like this is almost done, -> 6.2.2
Target Milestone: 6.2.2 → 6.2.3
API bits merged here: https://github.com/washort/zamboni/commit/bf8c5e63e9da9065f09bdd357e89221e3fbeafb8

UI bits here:
https://github.com/washort/zamboni/commit/1ee278fa33dc8bb261adae84ba068ab6615ff41f

It probably makes more sense to put this on a later page, since the paypal id is needed to make the query.

Updated

6 years ago
Assignee: ashort → amckay
Target Milestone: 6.2.3 → 6.2.4
(Assignee)

Comment 5

6 years ago
https://github.com/jbalogh/zamboni/commit/bfee4f93b6 and more.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
(Assignee)

Comment 6

6 years ago
https://github.com/jbalogh/zamboni/commit/fd7c1db9146 as well.
(Assignee)

Updated

6 years ago
Blocks: 687980
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.