You are here

public function Stripe::defaultConfiguration in Commerce Stripe 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/Stripe.php, line 141

Class

Stripe
Provides the Stripe payment gateway.

Namespace

Drupal\commerce_stripe\Plugin\Commerce\PaymentGateway

Code

public function defaultConfiguration() {
  return [
    'publishable_key' => '',
    'secret_key' => '',
  ] + parent::defaultConfiguration();
}