You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The sipping methods in the checkout keeps loading when there is a shipping method active that is disabled for a country and the option 'Show Method if Not Applicable' is set to true.
Reproduction steps
Enable a shipping method like Free shipping and limit it to a certain country. Make sure the option 'Show Method if Not Applicable' is set to true.
Go to the checkout and use an address with a different country than the country restricted shipping method.
Observe the loading spinner keeps spinning.
Relevant log output
// Browser console:
checkout.js:155 Uncaught TypeError: Cannot read properties of null (reading 'indexOf')
at checkout.js:155:39
at Array.find (<anonymous>)
at Object.findOriginalRateByCarrierCode (checkout.js:154:28)
at checkout.js:279:22
at Array.filter (<anonymous>)
at updateAllowedShippingMethods (checkout.js:278:64)
at ko.subscription._callback (checkout.js:95:9)
at Function.notifySubscribers (knockout.js:1401:50)
at Function.evaluateImmediate_CallReadWithDependencyDetection (knockout.js:2310:68)
at Function.evaluateImmediate (knockout.js:2253:40)
Additional context
No response
The text was updated successfully, but these errors were encountered:
Plugin version
4.17.0
Magento version
2.4.7-p3
PHP version
8.2
What went wrong?
The sipping methods in the checkout keeps loading when there is a shipping method active that is disabled for a country and the option 'Show Method if Not Applicable' is set to true.
Reproduction steps
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: