cancel
Showing results for 
Search instead for 
Did you mean: 

Payment validator is not working

Payment validator is not working

I am doing all what in the docs is described, but the validator is not working. Any idea why?

 

For more of the implementation and steps check:

https://magento.stackexchange.com/questions/211660/validator-doesnt-respond-in-the-checkout-payment

2 REPLIES 2

Re: Payment validator is not working

Hi, the link to magento stack exchange doesn't seem to be working, do you have an alternative?

 

The docs page is a good one to be following. Have you double checked you've followed the instructions? Is there any change in behaviour so far or any errors in the browser console to show what problem is happening?

 

The layout declaration is particularly awful to write and one character wrong can mean it won't work. 

----
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!

Re: Payment validator is not working

Hi @nWide 

 

Have a look at your etc/di.xml file, usually validator may not work due to a missing declaration in the di.xml file for a class, where the validator is used.