Closed
Bug 865624
Opened 11 years ago
Closed 11 years ago
on stage: Receipt had invalid domain
Categories
(Marketplace Graveyard :: Payments/Refunds, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
2013-05-02
People
(Reporter: kumar, Assigned: andy+bugzilla)
References
Details
A valid receipt on stage fails with this: Apr 25 04:19:09 web4.stage.addons.phx1.mozilla.com: [][] z.receipt:INFO Receipt had invalid domain :/data/www/addons.allizom.org/zamboni/services/utils.py:132 The receipt: {u'detail': u'https://marketplace.allizom.org/purchases/436275', u'exp': 1382611323, u'iat': 1366886523, u'iss': u'https://marketplace.allizom.org', u'nbf': 1366886523, u'product': {u'storedata': u'id=436275', u'url': u'http://yacht.paas.allizom.org'}, u'reissue': u'https://marketplace.allizom.org/app/private-yacht/purchase/reissue', u'typ': u'purchase-receipt', u'user': {u'type': u'directed-identifier', u'value': u'24591-0201fcc1-bffd-41bf-8ce9-ae39b503de31'}, u'verify': u'https://receiptcheck-marketplace.allizom.org/verify/'} On stage: DOMAIN = 'marketplace.allizom.org' I guess it's failing because of the verify domain. What did we do to fix this elsewhere?
Reporter | ||
Updated•11 years ago
|
Assignee | ||
Comment 1•11 years ago
|
||
This is because receipts get verified at two different domains. I'll have to fix the check to cope with that.
Assignee | ||
Comment 2•11 years ago
|
||
r? https://github.com/andymckay/zamboni/commit/835e8c
Assignee | ||
Updated•11 years ago
|
Target Milestone: --- → 2013-05-02
Assignee | ||
Comment 3•11 years ago
|
||
https://github.com/mozilla/zamboni/commit/34cfa9
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•