STILL NOT WORKING - blocking go live.
the paypal.js is already as described.
however if i updated the payment.min.js file the button shows.
however - when clicking the button paypal window tries to open the closes immediately. *(tried multiple browsers)
here is the modified payment.min.js file
var CurrentPage = function () { function n() { var n = $("input[name=PaymentPeriodType]:checked"); $("input[name=DayCount]").val(n.data("day-count")) } function t(n) { $("input[name=PaymentGatewayState]").val("created"); $("input[name=PaymentId]").val(n.paymentID); $("input[name=PayerId]").val(n.payerID); $("#formPaymentResult").submit() } function i() { $("input[name=PaymentPeriodType]").change(function () { n() }); $("input[name=PaymentPeriodType]:first").prop("checked", !0); n() } function r() { window.paypal.request.addHeaderBuilder(() => { return { "X-XSRF-TOKEN": abp.security.antiForgery.getToken() };});window.paypal.Button.render({style:{size:"responsive"},env:"sandbox",commit:!0,payment:function(){return window.paypal.request.post(abp.appPath+"TenantRegistration/CreatePayment",{editionId:$("input[name=EditionId]").val(),paymentPeriodType:$("input[name=PaymentPeriodType]:checked").val(),editionPaymentType:$("input[name=EditionPaymentType]").val(),gateway:$("input[name=Gateway]").val()}).then(function(n){return n.result.id})},onAuthorize:function(n){t(n)}},"#paypal-button")}function u(){i();r()}return{init:u}}();
Note- it is an https site as multitenancy config which required a https wildecard cert according to your docs.
I see your demo isn't using https
Mvc jquery .net core Version 4.3
do you have other customer running aspzero in production with paypal being used OOB.
i'd expect this to work without having to fix original source .
I need to be able to access all data in one of the SQL tables via WebAPI.
I do not want to use identity server - the current console app uses identity server to login to webapi.
Need to call WebAPI in .Web.Mvc project directly as we are not deploying the .Hosts project.
Using mvc .net core 4.3 template.
How do i login to .Web.Mvc webapi and make a call to access all data in SQL table?
when i try login the page is opening a script in the browser preventing user from continuing?
We have not modified any of the code related to this. version 4.3 MVC + JQuery.
try for yourself : <a class="postlink" href="https://.com/Account/Login">https://.com/Account/Login</a>
try this link: https:///Payment/Buy?editionId=4&editionPaymentType=NewRegistration&subscriptionStartType=3 or open https:/// - try create new tenant - select one of the editions.
PayPal button does not show however it works on localhost?? - see screenshot
Tried the staging and production api settings for paypal - neither worked.
In the phone book example it uses required to flag input text as required.
which seems to fire correctly if button is clicked when tab is action.
however in a multitab UI the validation does not fire? how do we ensure all tabs are validated when submit clicked.
where about are the existing email templates? example: I want to add text to the existing activation email.