+ $this->_params = $this->prepareParamsForPaymentProcessor($this->_params);
+ $fields = array_merge($fields, ['first_name' => 1, 'middle_name' => 1, 'last_name' => 1]);
+ return $fields;
+ }
+
+ /**
+ * Format the fields in $params for the payment processor.
+ *
+ * In order to pass fields to the payment processor in a consistent way we add some renamed
+ * parameters.
+ *
+ * @param array $params Payment processor params
+ *
+ * @return array $params
+ */
+ protected function prepareParamsForPaymentProcessor($params) {