How it works
Behind the XGL screens of all the format-specific payment screens, a new action is called when pressing the OK- or apply-button. This new action, called ‘PaymentPersist’, will call a rule sequence containing two rules: a groovy rule calling the script ‘PaymentValidation’ and the ‘WebPersist’ rule. It is the groovy rule that is responsible for the validations.