Closed maurizio-kitroyale closed 1 year ago
Hello @maurizio-kitroyale,
Thanks for raising this issue. However, there is no issue actually. The file you are referring to is Adyen Web Components library. That library instantiates all of the payment method components on the checkout. This JS file is really important for the plugin and actively being used while mounting any payment method to the checkout page, validating user data and creating encrypted payment state data.
Best Regards, Can
Describe the bug Largest Contentful Paint (LCP) is higher on checkout because
Adyen_Payment/js/adyen.min.js
is loaded but unusedTo Reproduce Steps to reproduce the behavior:
Expected behavior Web Core Vitals passed
Magento version Any
Plugin version At least from version 7.0.0, but it could be happening in earlier versions too
Additional context In adyen-payment-service.js
Adyen_Payment/js/adyen
is imported asadyenComponent
but never used, removing the dependency seems to resolve the issue without affecting the integration.