v3 payments: fix client errors for Stripe

This commit is contained in:
Matteo Pagliazzi
2016-05-10 16:57:12 +02:00
parent 1a43ab35c0
commit cd84ebd4c5
@@ -37,7 +37,7 @@ function($rootScope, User, $http, Content) {
$http.post(url, res).success(function() {
window.location.reload(true);
}).error(function(res) {
alert(res.err);
alert(res.message);
});
}
});
@@ -55,7 +55,7 @@ function($rootScope, User, $http, Content) {
$http.post(url, data).success(function() {
window.location.reload(true);
}).error(function(data) {
alert(data.err);
alert(data.message);
});
}
});