steps to reproduce: 1. Load https://marketplace-dev.allizom.org/en-US/app/backpack/ 2. try to purchase the app reproducible: not always observed behavior: Purchase flow doesn't start Timestamp: 4/24/12 10:04:27 PM Error: TypeError: $("[name=PPDGFrame]").offset() is null Source File: https://marketplace-dev-cdn.allizom.org/media/js/mkt/consumer-min.js?build=764ec87 Line: 19
We should be checking that PayPal the DG frame is loaded before we do this: https://github.com/mozilla/zamboni/blob/master/media/js/mkt/payments.js#L158
Verified as fixed. Purchase flow started every time.