You are here

public function OnsiteBase::defaultConfiguration in Commerce Authorize.Net 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides PaymentGatewayBase::defaultConfiguration

1 call to OnsiteBase::defaultConfiguration()
AcceptJs::defaultConfiguration in src/Plugin/Commerce/PaymentGateway/AcceptJs.php
Gets default configuration for this plugin.
1 method overrides OnsiteBase::defaultConfiguration()
AcceptJs::defaultConfiguration in src/Plugin/Commerce/PaymentGateway/AcceptJs.php
Gets default configuration for this plugin.

File

src/Plugin/Commerce/PaymentGateway/OnsiteBase.php, line 129

Class

OnsiteBase
Provides the Authorize.net payment gateway base class.

Namespace

Drupal\commerce_authnet\Plugin\Commerce\PaymentGateway

Code

public function defaultConfiguration() {
  return [
    'api_login' => '',
    'transaction_key' => '',
    'client_key' => '',
  ] + parent::defaultConfiguration();
}