You are here

public function PayflowLink::defaultConfiguration in Commerce PayPal 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/PayflowLink.php, line 104

Class

PayflowLink
Provides the PayPal Payflow Link payment gateway.

Namespace

Drupal\commerce_paypal\Plugin\Commerce\PaymentGateway

Code

public function defaultConfiguration() {
  return [
    'partner' => 'PayPal',
    'vendor' => '',
    'user' => '',
    'password' => '',
    'trxtype' => 'S',
    'redirect_mode' => 'post',
    'reference_transactions' => FALSE,
    'emailcustomer' => FALSE,
    'log' => [
      'request' => 0,
      'response' => 0,
    ],
  ] + parent::defaultConfiguration();
}