You are here

public function ExpressCheckout::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/ExpressCheckout.php, line 107

Class

ExpressCheckout
Provides the Paypal Express Checkout payment gateway.

Namespace

Drupal\commerce_paypal\Plugin\Commerce\PaymentGateway

Code

public function defaultConfiguration() {
  return [
    'api_username' => '',
    'api_password' => '',
    'shipping_prompt' => self::SHIPPING_SKIP,
    'signature' => '',
    'solution_type' => 'Mark',
  ] + parent::defaultConfiguration();
}