<cite>ismcagdas: </cite> Hi,
Have you updated <a class="postlink" href="https://.com">https://.com</a> ? As I checked it still has old payment.min.js. When you open developer console, it still shows same js error.
If you can update it, we can try to understand the next problem.
Thanks.
<cite>alper: </cite> hi,
I just downloaded a fresh copy of MVC Core + Jquery 4.3.0 version. There's no error. It's hard to understand what you changed so far. So maybe you download a new copy with the same project name and just compare them.
its 4.4 that breaking: Try template: MVC Core + Jquery "4.4.0" version. (not 4.3.0) - ensure you select .net core 1.1 as framework to.
make sure you publish to server with valid URL not localhost
<cite>alper: </cite> hi,
this is the config from demo page published on a vm machine (not azure )
What is the production environment "name" you are using. Yours shows as staging What is the production PayPal API url you are using.
I want to make sure yours actually runs with production level Paypal settings!
<cite>alper: </cite> hi,
I just downloaded a fresh copy of MVC Core + Jquery 4.3.0 version. There's no error. It's hard to understand what you changed so far. So maybe you download a new copy with the same project name and just compare them.
Question: did you use .net core as framework or .net framework 4.etc
I'm using .net core + mvc core + jquery version 4.4 think that is the latest of your template?
<cite>alper: </cite> hi i see an invalid html tag in the html response
I used OOB code - so someone at ASPNETZero needs to look at this please.
We cannot go live with our solution till paypal deploys in production correctly.
ASPNETZero : If possible - can you send through a copy of your settings file that you are using in production - just comment out your sensitive keys. - maybe it has something to do with the paypal jsaon settings
<cite>alper: </cite> hi i see an invalid html tag in the html response
Same issue with OOB copy of the code. Can someone from support please send me a copy of your demo Json config file for the mvc core jquery demo you say works as that is the only difference in my settings.
so how will this be fixed.
i'm getting this with a clean 4.3 mvc + jquery set of source code?
republished with change above so you can see what is happening in production. <a class="postlink" href="http://.com/Payment/Buy?editionId=2&editionPaymentType=NewRegistration&subscriptionStartType=3">http://.com/Payment/Buy?editionId=2&edi ... tartType=3</a>
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