0

I've been trying to install MercadoPago payment method, but system can't find js files?

Installing version 3.3.5 (current) from https://packagist.org/packages/mercadopago/magento2-plugin

Console errors display: [ERROR] Failed to load the "MercadoPago_Core/js/view/method-renderer/custom-method" component. for each mercadopago module activated.

I installed the latest package, run setup:upgrade and setup:di:compile but still nothing

2
1

I discovered the problem, 3 days with such a thing, i don't believe =). Mate it was blocked by the adblocker in the browser. Hope this helps.

=).

1
  • Thank you very much! Save my life of hours debugging Mar 5 at 1:46
1

*I discovered the problem, 3 days with such a thing, i don't believe =). Mate it was blocked by the adblocker in the browser. Hope this helps.

=).*

This works!!

0
  1. What magento mode do you use?
  2. Is the module enabled? php/bin magento module:status
  3. Js compnent belongs to a "frontend" layer and should be compiled with bin/magento setup:static-content:deploy (in case that you are in production mode)
  4. f you are in developer mode and module is enabled then remove data from <dir>/pub/static/* and flush web client cache
  5. If none of this works check if the file really exists
1
  • Didn't work. Module is enabled, I'm in dev mode. I think the file it's trying to reach is: vendor/mercadopago/magento2-plugin/src/MercadoPago/Core/view/frontend/web/js/view/method-renderer/custom-method.js. Feb 19 '20 at 0:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.