function mollie_payment_configuration_validate in Mollie Payment 7.2
Same name and namespace in other branches
- 7 mollie_payment.module \mollie_payment_configuration_validate()
File
- ./
mollie_payment.module, line 661 - Provides Mollie integration for the Payment platform.
Code
function mollie_payment_configuration_validate(array $form, array &$form_state) {
$values = drupal_array_get_nested_value($form_state['values'], $form['#parents']);
$form_state['payment']->method_data['mollie_payment_method'] = $values['mollie_payment_method'];
$form_state['payment']->method_data['mollie_payment_issuer'] = $values['mollie_payment_issuer'];
}