Closed Bug 1150480 Opened 10 years ago Closed 10 years ago

Payment failing for app in France

Categories

(Marketplace Graveyard :: Payments/Refunds, defect, P2)

Avenir
x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

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

Details

The app here: https://marketplace.firefox.com/app/secret-notes Works when purchased on a phone and locale is set to en-US. When its set to fr, you get a failure: Apr 2 12:27:12 localhost: [] z.celery:ERROR Celery TASK exception: HttpClientError: Client Error 400: https://payments.firefox.com/bango/billing/#012Content: {'pageTitle': ['This field is required.']}#012 :/data/mkt.prod/www/marketplace.firefox.com-webpay/current/venv/src/nuggets/celeryutils.py:46#012Traceback (most recent call last):#012 File "/data/mkt.prod/www/marketplace.firefox.com-webpay/current/venv/src/nuggets/celeryutils.py", line 35, in wrapped#012 return fun(*args, **kw)#012 File "/data/mkt.prod/www/marketplace.firefox.com-webpay/current/venv/lib/python2.7/site-packages/multidb/pinning.py", line 46, in decorator#012 return func(*args, **kw)#012 File "/data/mkt.prod/www/marketplace.firefox.com-webpay/current/venv/lib/python2.7/site-packages/multidb/pinning.py", line 46, in decorator#012 return func(*args, **kw)#012 File "/data/mkt.prod/www/marketplace.firefox.com-webpay/current/venv/lib/python2.7/site-packages/django/db/transaction.py", line 223, in inner#012 return func(*args, **kwargs)#012 File "/data/mkt.prod/www/marketplace.firefox.com-webpay/current/webpay/webpay/pay/tasks.py", line 267, in start_pay#012 mnc=network.get('mnc')#012 File "/data/mkt.prod/www/marketplace.firefox.com-webpay/current/webpay/lib/solitude/api.py", line 321, in start_transaction#012 mnc=mnc,#012 File "/data/mkt.prod/www/marketplace.firefox.com-webpay/current/webpay/lib/solitude/api.py", line 860, in create_transaction#012 'source': source#012 File "/data/mkt.prod/www/marketplace.firefox.com-webpay/current/venv/lib/python2.7/site-packages/curling/lib.py", line 191, in post#012 headers=headers, params=kwargs)#012 File "/data/mkt.prod/www/marketplace.firefox.com-webpay/current/venv/lib/python2.7/site-packages/curling/lib.py", line 304, in _request#012 content=self._try_to_serialize_error(resp))#012HttpClientError: Client Error 400: https://payments.firefox.com/bango/billing/#012Content: {'pageTitle': ['This field is required.']} This causes a TRANS_NOT_FOUND error to occur. I'm guessing this due to recent attempts to localise the name in the payments flow.
Note: I think this is solitude failing on pageTitle, before we send it to Bango.
In the JWT that ceated the payment we have: u'locales': {u'fr': {u'name': None, u'description': u'Secret Notes - Enregistrer vos notes personnelles prot\xe9g\xe9es par un mot de passe'}
Assignee: nobody → amckay
Priority: -- → P2
https://github.com/mozilla/webpay/pull/621 STR: * localise an app, but only partially localise it, localise description into de. Do *not* localise title. * try and buy the app in en-US, it should work * try and buy the app in de, it should work but the page title on the buy page will show the en-US version * if you localise the app title into de and try re-purchasing the page title on the buy page should be in de. You don't need to actually buy the app to test this, just get to the Bango buy page.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.