4.3 Promotions, Discount Type: Assign to Product, Discount requirement type: Must be assigned to customer role - Failed to load content

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 3 años
NopCommerce 4.3
Promotions
Discount Type: Assign to Product
Discount requirement type: Must be assigned to customer role
Error message - Failed to load content
Using Plugin - Discount requirements: Must be assigned to customer role
Version: 1.34
Author: nopCommerce team
System name: DiscountRequirement.MustBeAssignedToCustomerRole
Hace 3 años
I cannot reproduce the issue. Everything works fine
Hace 3 años
When I did a F12, the line that have error is

http://<domain>/Admin/DiscountRulesCustomerRoles/Configure?discountId=1&_=1591023672591

Configuration to note
Store URL have been set to https://<domain>/
SSL have not been checked. (we wanted to check, but checking it will result in endless redirection)

It seem to be due to mixed content http/https.

Similar issues was faced during checkout where in onepagecheckout.cshtml when we tried to enter billing address and next; where the payment process "breaks" and redirect back to cart.

this is our findings is that it seems that
storelocation -> getstorelocation() method issue
and if u notice the page / code which breaks is this url checkout/opcsavebilling where this storelocation is used
and this is the getstorelocation method which checks if currentconnectionsecured
so this is where it breaks
if we use http, we can proceed past billing
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.