You are here

public function WorldpayDirect::defaultConfiguration in Commerce Worldpay 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/Commerce/PaymentGateway/WorldpayDirect.php \Drupal\commerce_worldpay\Plugin\Commerce\PaymentGateway\WorldpayDirect::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides PaymentGatewayBase::defaultConfiguration

File

src/Plugin/Commerce/PaymentGateway/WorldpayDirect.php, line 30

Class

WorldpayDirect
Provides the Worldpay direct payment gateway.

Namespace

Drupal\commerce_worldpay\Plugin\Commerce\PaymentGateway

Code

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