edx/edx-platform — pull request #6421 by wedaly (2014-12-31 17:05:23+00:00)
Title: Set attempting_upgrade session flag in the new payment flow

[ECOM-850](https://openedx.atlassian.net/browse/ECOM-850): edx.course.enrollment.upgrade.succeeded event not being fired

This sets the `attempting_upgrade` session flag in the new verify/payment flow. This allows the `shoppingcart` to fire an analytics event when the user successfully completes an upgrade.

Reviewers: @stephensanchez @dianakhuang