Index: branches/fundraising/extensions/DonationInterface/gateway_common/GatewayForm.php |
— | — | @@ -123,6 +123,13 @@ |
124 | 124 | * |
125 | 125 | * @param array $data Reference to the data of the form |
126 | 126 | * @param array $error Reference to the error messages of the form |
| 127 | + * @param array $options |
| 128 | + * OPTIONAL - You may require certain field groups to be validated |
| 129 | + * - address - Validates: street, city,, state, zip |
| 130 | + * - amount - Validates: amount |
| 131 | + * - creditCard - Validates: card_num, cvv, expiration and sets the card |
| 132 | + * - email - Validates: email - NOTE: part of this validation is disabled |
| 133 | + * - name - Validates: fname, lname |
127 | 134 | * |
128 | 135 | * @return 0|1 Returns 0 on success and 1 on failure |
129 | 136 | * |