This article will contain a super brief summary of some of the gotchas when adding custom validation to checkout panes. Commerce checkout panes handle validation on an element level, validation handlers should be attached to the button. However this is not always possible.
For example, say you have embeded a custom form into one of your checkout panes. Validation for this form must be declared in