You are here

function mollie_payment_configuration_validate in Mollie Payment 7

Same name and namespace in other branches
  1. 7.2 mollie_payment.module \mollie_payment_configuration_validate()

File

./mollie_payment.module, line 452
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'];
}