Skip to content

magento2.4

Auto Added by WPeMatico

Magento2.4.6: setTimeout() doesn’t work on server on checkout page but its working on local checkout page, whats the reason?

Here is the code <script> require([ “jquery” ], function($) { ‘use strict’; $(document).ready(function () { setTimeout( function(){ let telephone = $(‘input[name=”telephone”]’); telephone.keypress(function() { console.log(“Formatting phone number with keypress”); telephone.attr(‘maxLength’, ’13’); telephone.attr(‘minLength’, ’13’); telephone.addClass(‘validate-phone-13’); telephone.attr(‘type’,’tel’); let x = $(this).val(); x =… Read More »Magento2.4.6: setTimeout() doesn’t work on server on checkout page but its working on local checkout page, whats the reason?

CSP Module Issue in patch upgrade magento version 2.4.6-p6

ISSUE: Refused to execute inline script because it violates the following Content Security Policy directive: “script-src assets.adobedtm.com *.adobe.com data: www.googleadservices.com www.google-analytics.com googleads.g.doubleclick.net analytics.google.com www.googletagmanager.com *.newrelic.com *.nr-data.net geostag.cardinalcommerce.com 1eafstag.cardinalcommerce.com geoapi.cardinalcommerce.com 1eafapi.cardinalcommerce.com songbird.cardinalcommerce.com includestest.ccdc02.com www.paypal.com www.sandbox.paypal.com www.paypalobjects.com t.paypal.com s.ytimg.com www.googleapis.com vimeo.com www.vimeo.com… Read More »CSP Module Issue in patch upgrade magento version 2.4.6-p6