Closed Bug 677904 Opened 13 years ago Closed 13 years ago

Check with paypal that a paypal id is...

Categories

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

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: andy+bugzilla, Assigned: andy+bugzilla)

References

Details

(Whiteboard: [t:muffin])

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 → ---
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.
Assignee: ashort → amckay
Target Milestone: 6.2.3 → 6.2.4
https://github.com/jbalogh/zamboni/commit/bfee4f93b6 and more.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
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.