"Oops ..." page is displayed when trying to update a payment account

VERIFIED FIXED in 2014-02-11

Status

Marketplace
Payments/Refunds
VERIFIED FIXED
4 years ago
4 years ago

People

(Reporter: Victor Carciu, Assigned: andym)

Tracking

({regression})

Avenir
2014-02-11
x86_64
Windows 7
regression
Points:
---

Details

(URL)

(Reporter)

Description

4 years ago
Prerequisites:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0

Steps to reproduce:
1.Go to MP-stagg devhub and open one of your paid apps
2.Go to Compatibility&Payments option
3.Click "Add, manage or view transactions for your payment account" link , try to modify one of the accounts and save the changes

Expected results:
Changes are successfully changed

Actual results:
"Oops..." page is displayed

Please see screencast for this bug : http://screencast.com/t/Qdf7c9b9N6c

Notes:
I can see POST https://marketplace.allizom.org/developers/provider/accounts/111 [HTTP/1.1 500 INTERNAL SERVER ERROR 1921ms] in my console
(Reporter)

Comment 1

4 years ago
Reproducible also on -dev and Prod
(Assignee)

Updated

4 years ago
Component: Developer Pages → Payments/Refunds
Target Milestone: 2014-02-04 → 2014-02-11
http://sentry.dmz.phx1.mozilla.com/addons/marketplace-stage/group/17892/

AttribueError: 'PaymentAccount' object has no attribute 'update_account_details'

Stacktrace (most recent call last):

  File "django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "newrelic/hooks/framework_django.py", line 485, in wrapper
    return wrapped(*args, **kwargs)
  File "amo/decorators.py", line 157, in wrapper
    return f(*args, **kw)
  File "amo/decorators.py", line 149, in wrapper
    return f(*args, **kw)
  File "amo/decorators.py", line 157, in wrapper
    return f(*args, **kw)
  File "amo/decorators.py", line 149, in wrapper
    return f(*args, **kw)
  File "python2.6/contextlib.py", line 34, in __exit__
    self.gen.throw(type, value, traceback)
  File "amo/models.py", line 38, in skip_cache
    yield
  File "amo/decorators.py", line 149, in wrapper
    return f(*args, **kw)
  File "amo/decorators.py", line 32, in wrapper
    return func(request, *args, **kw)
  File "amo/decorators.py", line 128, in wrapper
    response = func(*args, **kw)
  File "mkt/developers/views_payments.py", line 255, in payments_account
    form.save()
  File "mkt/developers/forms_payments.py", line 455, in save
    self.account.update_account_details(**self.cleaned_data)
(Assignee)

Updated

4 years ago
Assignee: nobody → amckay
(Assignee)

Comment 3

4 years ago
https://github.com/mozilla/zamboni/pull/1726
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
(Reporter)

Comment 4

4 years ago
Now I can see "
Error - There was a problem contacting the payment server." when trying to update an account.

Error seen in console:
GET https://marketplace-dev.allizom.org/developers/provider/accounts/18 [HTTP/1.1 500 INTERNAL SERVER ERROR 3016ms]
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(Assignee)

Comment 5

4 years ago
https://github.com/mozilla/zamboni/commit/17bcb1
Status: REOPENED → RESOLVED
Last Resolved: 4 years ago4 years ago
Resolution: --- → FIXED
(Reporter)

Comment 6

4 years ago
Verified as fixed. Bango account successfully updated.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.