Closed Bug 747504 Opened 12 years ago Closed 12 years ago

Check why the app I just installed has an invalid receipt

Categories

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

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: krupa.mozbugs, Assigned: andy+bugzilla)

References

Details

I installed https://marketplace-dev.allizom.org/en-US/app/gis-cloud/?src=search and checking for the receipt says that the receipt was invalid.

decoded receipt- 

{"alg": "RS512", "typ": "JWT"}{"product": {"url": "https://www.giscloud.com", "storedata": "id=369805"}, "iss": "https://marketplace-dev.allizom.org", "verify": "https://receiptcheck-marketplace-dev.allizom.org/verify/369805", "detail": "https://marketplace-dev.allizom.org/en-US/purchases/369805", "reissue": "https://marketplace-dev.allizom.org/en-US/app/gis-cloud/purchase/reissue", "user": {"type": "directed-identifier", "value": "166-fc646dfc-17e4-44f2-8698-6f86f9460a07"}, "exp": 1335548266, "iat": 1334943466, "typ": "purchase-receipt", "nbf": 1334943466.0}	j.`Q]t/m%m˔{n)el3qtiC7͇>8:R
vL.ST%ЧrϪL"(uqs#<ߺ܃cȧ֥8{]7<
Finding the logs was the tricky part :)

Apr 20 16:56:31 dev1.addons.phx1.mozilla.com: [][] z.services:ERROR Msg: Invalid receipt, no purchase, Data: {'receipt': 'eyJhbGciOi...', 'addon': 369805} :/data/www/addons-dev.allizom.org/zamboni/services/utils.py:112
There's no entry in the purchase table for this. That means the server thinks its premium, but there's no purchase. Will investigate more on Monday.
Priority: -- → P1
Target Milestone: --- → 6.5.2
https://github.com/mozilla/zamboni/commit/e83e6b
Status: NEW → RESOLVED
Closed: 12 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.