validatePay
validatePay(
values,ships):FieldErrors
What the form checks before it asks Commerce anything. A message names what is wrong with the field and never repeats what was typed. The email and the country are always needed; the
recipient, first address line and city only when something in the cart ships (Commerce refuses a checkout without them, with address_required).
Parameters
Section titled “Parameters”values
Section titled “values”boolean