publishing
This commit is contained in:
parent
ba11d324f6
commit
5785cf72b1
17 changed files with 17 additions and 46 deletions
2
Yavsc/wwwroot/js/paypalbutton.min.js
vendored
2
Yavsc/wwwroot/js/paypalbutton.min.js
vendored
|
|
@ -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")})}();
|
||||
Loading…
Add table
Add a link
Reference in a new issue