Need to add new custom validation on the checkout page before place order.

enter image description here

The place order should work only when the calculation shown above is correct and also to show different values to sum.

I have override Magento_Checkout/view/frontend/web/templates/payment.html to show this field but I couldn't add the validations

  • Do you need to catch the customer click and place order event to test your custom field? You have to handle it with js currently you are just rendering and not processing requests so it won't work. – LitExtension Magento Migration Jun 15 at 10:19
  • Yes I have to do the exactly same – Ramesh KR Jun 15 at 11:47

Your Answer

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

Browse other questions tagged or ask your own question.