Paypal 3rd party permission error

VERIFIED FIXED in 6.2.9

Status

addons.mozilla.org Graveyard
Developer Pages
P2
normal
VERIFIED FIXED
7 years ago
2 years ago

People

(Reporter: Andy McKay, Assigned: Andy McKay)

Tracking

Details

(Whiteboard: [t:muffin])

(Assignee)

Description

7 years ago
When fligtar hit:

https://addons-dev.allizom.org/z/en-US/developers/addon/password-exporter-pro/payments/permission/refund...

He got a traceback:

 File "/data/www/addons-dev.allizom.org/zamboni/apps/devhub/decorators.py", line 24, in <lambda>
   **kw)

 File "/data/www/addons-dev.allizom.org/zamboni/apps/devhub/views.py", line 492, in acquire_refund_permission
   paypal_permissions_token=token)

[...]

IntegrityError: (1062, "Duplicate entry '335400' for key 'addon_id'")
(Assignee)

Updated

7 years ago
Assignee: nobody → amckay
(Assignee)

Comment 1

7 years ago
Tentative fix in. 

https://github.com/jbalogh/zamboni/commit/572a6e
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED

Comment 2

7 years ago
reopening since this still happens.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(Assignee)

Comment 3

7 years ago
https://github.com/jbalogh/zamboni/commit/a0e4ae

I feel dirty.
Status: REOPENED → RESOLVED
Last Resolved: 7 years ago7 years ago
Resolution: --- → FIXED

Comment 4

7 years ago
Just this traceback again while setting up payments for an app. Reopening.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(Assignee)

Updated

7 years ago
Blocks: 690899
Priority: -- → P2
Target Milestone: --- → 6.2.9

Comment 5

7 years ago
STR:
1. Enroll an app/add-on into Marketplace. Set up the refund token for the add-on using a PayPal account. Click "return to Wil Clouser's test store"
2. Complete the enrollment.
3. Start enrolling a different/new app/add-on.
4. Use the same PayPal account to set up the refund token for this second add-on.
5. Click "return to Wil Clouser's test store"

observed behavior:
traceback
 File "/data/www/addons-dev.allizom.org/zamboni/vendor/src/django/django/db/backends/mysql/base.py", line 86, in execute
   return self.cursor.execute(query, args)

 File "/usr/lib64/python2.6/site-packages/MySQLdb/cursors.py", line 173, in execute
   self.errorhandler(self, exc, value)

 File "/usr/lib64/python2.6/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
   raise errorclass, errorvalue

IntegrityError: (1062, "Duplicate entry '337557' for key 'addon_id'")


-------------------------------------

That one?  If not, please paste it in
(Assignee)

Comment 7

7 years ago
https://github.com/mozilla/zamboni/commit/fe2dd7
Status: REOPENED → RESOLVED
Last Resolved: 7 years ago7 years ago
Resolution: --- → FIXED

Comment 8

7 years ago
I haven't seen this traceback in a while. Marking this as verified at https://addons-dev.allizom.org/en-US/developers/addon/app-345078/payments
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.