Commit ae333e22 by Ibrahim

provide receiptCallback function for themes to override

parent d328328f
...@@ -53,6 +53,8 @@ var edx = edx || {}; ...@@ -53,6 +53,8 @@ var edx = edx || {};
if (providerId) { if (providerId) {
this.getProviderData(providerId).then(this.renderProvider, this.renderError) this.getProviderData(providerId).then(this.renderProvider, this.renderError)
} }
receiptCallback();
}, },
renderCourseNamePlaceholder: function (courseId) { renderCourseNamePlaceholder: function (courseId) {
// Display the course Id or name (if available) in the placeholder // Display the course Id or name (if available) in the placeholder
...@@ -346,3 +348,7 @@ function completeOrder(event) { // jshint ignore:line ...@@ -346,3 +348,7 @@ function completeOrder(event) { // jshint ignore:line
$errorContainer.removeClass("hidden"); $errorContainer.removeClass("hidden");
}); });
} }
function receiptCallback(){
//Not Implemented in edx-platform. White label sites can provide an implementation for this function.
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment