steps to reproduce: 1. Navigate to https://marketplace-dev.allizom.org/app/krupas-paid-app-1/ on your unagi phone or desktop b2g build 2. Click on the purchase button observed behavior: Button status changes to "purchasing" for a second and reverts to back to app price. Payments flow is not triggered. JS error: Content JS LOG at https://marketplace-dev-cdn.allizom.org/media/js/mkt/consumer-min.js?build=aef9d41:16 in anonymous: Error code:"
to clarify, this only happens when purchasing the app in the STR! Checking it out now...
the server is producing the right JWT. Checking to see where the client messes it up...
bug 831524 is the culprit. I'll land a workaround soon in Marketplace where we shorten the JWT until it is fixed.
narrowed this down to an issue with atob() choking on encoded HTML
We're stripping HTML from app descriptions now which should avoid running into the atob() issue. https://github.com/mozilla/zamboni/commit/5393f4b6f76a93635400500c755bfa5d0037d031
Verified as fixed : http://screencast.com/t/JNyRHo87Skt