Building nopCommerce 4.40 with Visual Studio 2022
There is a known issue in nopCommerce that occurs if you build nopCommerce 4.40 with Visual Studio 2022, which results in System.Reflection.ReflectionTypeLoadException error.
You need to use Visual Studio 2019 for building nopCommerce 4.40.
One Page Checkout issue with Billing Address Country disabled in nopCommerce 4.10
There is a known issue in nopCommerce 4.10 where your users won't be able to checkout due to an error if the 'Country' enabled setting is unchecked in the Administration -> Configuration -> Settings -> Customer Settings -> Address form fields page.
This has been in the upcoming 4.20 version of nopCommerce. Please, for the time being, do not uncheck this setting.
Paypal Smart Payment Buttons a.ka.a PayPal Commerce and Real One Page Checkout
PayPal Smart Payment Buttons a.ka.a PayPal Commerce plugin is designed to work only with nopCommerce default checkout as it has hardcoded widget zones that are not available in our plugins (they simply don't make sense since we don't have steps in our checkout), multi-steps buttons (again we don't have such buttons as we don't have steps) and the scripts expect certain elements specific only to the nopCommerce checkout, which is why it is not compatible with our Real One Page Checkout plugin.
Upload plugin or theme functionality not supported in nopCommerce 4.00 on Azure
There is a known issue with the Upload plugin or theme functionality in nopCommerce 4.00 on Azure. There is a chance the process of uploading a plugin or a theme to throw an exception before it is complete, leaving your store broken.It is recommended to manually upload the plugins and themes as was done in nopCommerce versions 3.90 and below.
There is a work item created by the nopCommerce dev theme in order to fix this issue in nopCommerce 4.10.
One Page Checkout and Square Payment Plugin Issues
-
Failed to get the card nonce error on checkout submit (nopCommerce 4.00)
This is a known issue with the Square Payment plugin in nopCommerce 4.00. The plugin logic is written for the default page checkout and relies heavily on the "next step button". That button isn't present in our plugin since it has all the checkout steps on a single page and causes crucial information to not be sent to the server on checkout submit.
In order to fix this issue you will have to edit the ~/Plugins/Payments.Square/Views/PaymentInfo.cshtml file. You will have to replace the code on line 117:
$('input.payment-info-next-step-button').on('click', function (data) {
var selectedStoredCardId = $('#@Html.IdFor(model => model.StoredCardId)').val()
if (!submitForm && (!selectedStoredCardId || selectedStoredCardId == '0')) {
if (paymentForm) {
paymentForm.requestCardNonce();
}
return false;
}
else if (onePageCheckout) {
submitForm = false;
PaymentInfo.save();
}
});with
function getCardNonceSquare(data) {
var selectedStoredCardId = $('#@Html.IdFor(model => model.StoredCardId)').val()
if (!submitForm && (!selectedStoredCardId || selectedStoredCardId == '0')) {
if (paymentForm) {
paymentForm.requestCardNonce();
}
return false;
}
else if (onePageCheckout) {
submitForm = false;
PaymentInfo.save();
}
}
if (realOnePageCheckout) {
$('.complete-button').on('click', getCardNonceSquare);
} else {
$('input.payment-info-next-step-button').on('click', getCardNonceSquare);
}Now the Square Payment plugin will work with both the default checkouts and the One Page Checkout plugin.