Closed Bug 694160 Opened 13 years ago Closed 13 years ago

Investigate why enrolling into marketplace often fails with 'The PayPal third-party refund token on your account is invalid'

Categories

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

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: krupa.mozbugs, Assigned: ashort)

References

Details

I have been using a test account on the PayPal sandbox and often enrolling into Marketplace fails with the error message 'The PayPal third-party refund token on your account is invalid'. Trying later usually is successful.

Let me know what other information I can provide to help you investigate.
screenshot at http://screencast.com/t/vhW0bbcBxnq
Assignee: amckay → ashort
Target Milestone: --- → 6.2.8
We should also check if the developer changes the email id after setting up the third-party token.

lengthy screencast: http://screencast.com/t/AZaK2nDbJnCz

Talk to me if the screencast is not clear.
After looking this over with Krupa I think we need to rework this interaction significantly. There's too many ways the state of the form and the paypal token state can get out of sync with each other. For example, Krupa added me as an author to an extension; I change the paypal ID for the addon to mine, set up my paypal refund token -- and then upon returning to the payments form, the previous paypal ID was still there, along with refund permissions for _my_ account. 

I think refund permissions need to be managed on a separate page or separate step from other Paypal-related info.
I'm unsure how adding a separate page will help though. 

It sounds like the paypal_id didn't update correctly though from your comments? That would be an issue.
I discussed this with Andy and he suggested we move the refund-permissions link/notice to a notification as part of form validation, so nothing is even displayed about refund permissions if we have a valid token for them. The only downside I could see is that if ever the user deauthorized us for refunds, he would have to go to the payments form and submit it to see the link for setting that back up.
Priority: -- → P1
Target Milestone: 6.2.8 → 6.2.9
Target Milestone: 6.2.9 → 6.3.0
Target Milestone: 6.3.0 → 6.3.2
Refund token process moved to a message that only appears when not set up properly. Remaining issues covered in https://bugzilla.mozilla.org/show_bug.cgi?id=694685

https://github.com/mozilla/zamboni/commit/637fcfb776fb3170acb51b5244f5dc6d8ce1b78a#apps/devhub/views.py
Status: NEW → RESOLVED
Closed: 13 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.