http://cl.ly/2y0C400Q1F423a3s3A0gt https://marketplace-dev-cdn.allizom.org/mozmarket.js includes https://github.com/mozilla/receiptverifier/blob/master/receiptverifier.js which fails on "NewState.name is read-only"
I was running into this too. Ian do you have any ideas? It's only happening when running the verifier from mozmarket.js; the line of code seems to be https://github.com/mozilla/receiptverifier/blob/master/receiptverifier.js#L74 You can reproduce it at https://marketplace-dev-cdn.allizom.org/mozmarket.js (but we may need to disable it if someone has to use in-app payments on -dev)
Summary: In-app tester fails on JS receiptverifier.js: "NewState.name is read-only" → mozmarket.js fails on receiptverifier.js: "NewState.name is read-only"
This was a side effect of "use strict", which the code combining caused to be applied to receiptverifier.js. Fixed in https://github.com/mozilla/receiptverifier/commit/3b805412d5103d87fd1d555253c55f37ac3ea64b (still requires mozmarket.js rebuild)
aha, thanks. After the code update it's working for me.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.