You are here

public function PayPalPaymentMethodPluginBase::defaultConfiguration in Ubercart 8.4

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides PaymentMethodPluginBase::defaultConfiguration

1 call to PayPalPaymentMethodPluginBase::defaultConfiguration()
PayPalExpressCheckout::defaultConfiguration in payment/uc_paypal/src/Plugin/Ubercart/PaymentMethod/PayPalExpressCheckout.php
Gets default configuration for this plugin.
2 methods override PayPalPaymentMethodPluginBase::defaultConfiguration()
PayPalExpressCheckout::defaultConfiguration in payment/uc_paypal/src/Plugin/Ubercart/PaymentMethod/PayPalExpressCheckout.php
Gets default configuration for this plugin.
PayPalPaymentsStandard::defaultConfiguration in payment/uc_paypal/src/Plugin/Ubercart/PaymentMethod/PayPalPaymentsStandard.php
Gets default configuration for this plugin.

File

payment/uc_paypal/src/Plugin/Ubercart/PaymentMethod/PayPalPaymentMethodPluginBase.php, line 18

Class

PayPalPaymentMethodPluginBase
Defines the PayPal Express Checkout payment method.

Namespace

Drupal\uc_paypal\Plugin\Ubercart\PaymentMethod

Code

public function defaultConfiguration() {
  return [
    'wps_email' => '',
    'wpp_server' => 'https://api-3t.sandbox.paypal.com/nvp',
    'api' => [
      'api_username' => '',
      'api_password' => '',
      'api_signature' => '',
    ],
  ];
}