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

VERIFIED FIXED in 2013-01-17

Status

Marketplace
Payments/Refunds
P1
critical
VERIFIED FIXED
5 years ago
5 years ago

People

(Reporter: krupa, Assigned: kumar)

Tracking

2013-01-17
Points:
---
Dependency tree / graph

Details

(Whiteboard: u=patron p=1)

(Reporter)

Description

5 years ago
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
Last Resolved: 5 years ago
Resolution: --- → FIXED

Comment 6

5 years ago
Verified as fixed : http://screencast.com/t/JNyRHo87Skt
Status: RESOLVED → VERIFIED
Duplicate of this bug: 831078
You need to log in before you can comment on or make changes to this bug.