Closed Bug 830450 Opened 11 years ago Closed 11 years ago

Clicking on the purchase button for app with an HTML description does nothing

Categories

(Marketplace Graveyard :: Payments/Refunds, defect, P1)

defect

Tracking

(Not tracked)

VERIFIED FIXED
2013-01-17

People

(Reporter: krupa.mozbugs, Assigned: kumar)

References

Details

(Whiteboard: u=patron p=1)

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:"
Assignee: nobody → cvan
Target Milestone: --- → 2013-01-17
Whiteboard: u=patron p=1
Assignee: cvan → kumar.mcmillan
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...
Depends on: 831524
bug 831524 is the culprit. I'll land a workaround soon in Marketplace where we shorten the JWT until it is fixed.
Summary: Clicking on the purchase button does nothing → Clicking on the purchase button for app with long description does nothing
narrowed this down to an issue with atob() choking on encoded HTML
Summary: Clicking on the purchase button for app with long description does nothing → Clicking on the purchase button for app with an HTML description does nothing
We're stripping HTML from app descriptions now which should avoid running into the atob() issue. https://github.com/mozilla/zamboni/commit/5393f4b6f76a93635400500c755bfa5d0037d031
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Verified as fixed : http://screencast.com/t/JNyRHo87Skt
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.