public function WorldpayDirect::defaultConfiguration in Commerce Worldpay 8
Same name and namespace in other branches
- 8.2 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\PaymentGatewayCode
public function defaultConfiguration() {
return [
'merchant_id' => '',
'service_key' => '',
'client_key' => '',
] + parent::defaultConfiguration();
}