edx/edx-platform — pull request #5502 by wedaly (2014-10-07 12:06:03+00:00)
Title: Add donation button to the enrollment success message

Changes:
* Add donation end-point
* Make donations configurable
* Added donation button to dashboard
* Generalize merchant defined data for payment processor

Notes:
* To enable this, you need to use model-based configuration. Enable `DonationConfiguration` and `DashboardConfiguration` (enrollment message timeout) in Django admin.

* This PR includes client-side validation and introduces a new client-side analytics event `edx.bi.user.payment_processor.visited` fired when the user clicks the "donate" button, right before we send them to the external payment processor.

* This PR does NOT include any style changes.

Reviewers: @dianakhuang @stephensanchez
FYI: @andy-armstrong @chrisndodge

[ECOM-445](https://openedx.atlassian.net/browse/ECOM-445)