Closed
Bug 886928
Opened 11 years ago
Closed 11 years ago
Purchasing an app on prod while on whitelist fails with "*req* No one has been registered for JWT issuer..."
Categories
(Marketplace Graveyard :: Payments/Refunds, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
2013-07-04
People
(Reporter: krupa.mozbugs, Assigned: kumar)
References
Details
Attachments
(1 file)
112.14 KB,
image/jpeg
|
Details |
steps to reproduce: 1. Make sure your email account is on the whitelist 2. On marketplace app, search for "webfighter" 3. Click on the purchase button expected behavior: purchase starts within the trusted UI observed behavior: purchase fails with a JWT error. screenshot and logs upcoming
Reporter | ||
Updated•11 years ago
|
Summary: Purchasing an app on prod while on whitelist fails with "" → Purchasing an app on prod while on whitelist fails with "*req* No one has been registered for JWT issuer..."
Reporter | ||
Comment 1•11 years ago
|
||
Assignee | ||
Comment 2•11 years ago
|
||
whoops, this is a bug in mozpay-js. I have a fix...
Assignee: nobody → kumar.mcmillan
Target Milestone: --- → 2013-06-27
Assignee | ||
Comment 3•11 years ago
|
||
On closer inspection, I don't see a bug in mozpay-js that is causing this. James, could you start up a shell in your app and triple check your settings.payKey? I cloned the webfighter repo and added a settings file like this: module.exports = { port: 4000, // required for payments postback url: 'http://site', // in-app payments payKey: 'the-iss', paySecret: 'the-secret' }; And it was working as expected: curl -X POST -d 'name=Fighter&type=ships' http://localhost:4000/sign-jwt | python -c 'import sys,base64;print base64.b64decode(sys.stdin.read().split(".")[1])' {"iss":"the-iss","aud":"marketplace.firefox.com","typ":"mozilla/payments/pay/v1","iat":1372197482,"exp":1372201082,"request":{"id":"Fighter","name":"Fighter","description":"Your main ship.","icons":{"64":"http://site/img/items/blaster-ship.png"},"pricePoint":1,"productData":"o833512","postbackURL":"http://site/mozpay/postback","chargebackURL":"http://site/mozpay/chargeback"}} You can see that iss was set to my settings.payKey
Flags: needinfo?(jlong)
Assignee | ||
Comment 4•11 years ago
|
||
Sorry, ignore comment #2 through comment #3, I misread this as an in-app payment error not an app purchase error. Krupa, James turned off simulations so we get a new error now. It will be fixed when this goes live: https://github.com/mozilla/webpay/commit/df086b8793fb6057e82c03833cb8c6396235b2e3 After that we'll have to try again and see.
Flags: needinfo?(jlong)
Updated•11 years ago
|
Target Milestone: 2013-06-27 → 2013-07-04
Reporter | ||
Comment 5•11 years ago
|
||
I see this issue still happening in prod STR: 0. User is on the whitelist for payments 1. Search for a paid app in prod 2. Click on the purchase button Purchase fails with "Error *req* No one has been registered for JWT issuer u'marketplace.firefox.com'."
Assignee | ||
Comment 6•11 years ago
|
||
This was a combination of a few things but it's fixed now for me. I just installed ok from prod.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 7•11 years ago
|
||
This is still reproducible. try purchasing https://marketplace.firefox.com/search?q=b7691
You need to log in
before you can comment on or make changes to this bug.
Description
•