publishing

This commit is contained in:
Paul Schneider 2018-03-11 19:23:15 +01:00
commit 5785cf72b1
17 changed files with 17 additions and 46 deletions

View file

@ -1 +1 @@
+function(n,t,e,o,u){n(document).ready(function(){t.Button.render({env:e,commit:!0,payment:function(n,e){return t.request.post(o).then(function(t){n(t.id)})["catch"](function(n){e(n)})},onAuthorize:function(n){return t.request.post(u,{paymentID:n.paymentID,payerID:n.payerID}).then(function(n){document.location="@ViewBag.Urls.Details"})["catch"](function(t){document.location="/Manage/PaymentInfo/"+n.paymentID+"/?error="+t})}},"#paypal-button")})}(jQuery);
!function(n,o,t,e,u){jQuery(document).ready(function(){o.Button.render({env:void 0,commit:!0,payment:function(t,e){return o.request.post(void 0).then(function(n){t(n.id)}).catch(function(n){e(n)})},onAuthorize:function(t){return o.request.post(void 0,{paymentID:t.paymentID,payerID:t.payerID}).then(function(n){document.location="@ViewBag.Urls.Details"}).catch(function(n){document.location="/Manage/PaymentInfo/"+t.paymentID+"/?error="+n})}},"#paypal-button")})}();