You are here

public function HostedFields::defaultConfiguration in Commerce Braintree 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides PaymentGatewayBase::defaultConfiguration

File

src/Plugin/Commerce/PaymentGateway/HostedFields.php, line 95

Class

HostedFields
Provides the HostedFields payment gateway.

Namespace

Drupal\commerce_braintree\Plugin\Commerce\PaymentGateway

Code

public function defaultConfiguration() {
  return [
    'merchant_id' => '',
    'public_key' => '',
    'private_key' => '',
    'merchant_account_id' => [],
    '3d_secure' => '',
  ] + parent::defaultConfiguration();
}