You are here

public function PayPalExpressCheckout::defaultConfiguration in Ubercart 8.4

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides PayPalPaymentMethodPluginBase::defaultConfiguration

File

payment/uc_paypal/src/Plugin/Ubercart/PaymentMethod/PayPalExpressCheckout.php, line 34

Class

PayPalExpressCheckout
Defines the PayPal Express Checkout payment method.

Namespace

Drupal\uc_paypal\Plugin\Ubercart\PaymentMethod

Code

public function defaultConfiguration() {
  return parent::defaultConfiguration() + [
    'ec_landingpage_style' => 'Billing',
    'ec_rqconfirmed_addr' => FALSE,
    'ec_review_shipping' => TRUE,
    'ec_review_company' => TRUE,
    'ec_review_phone' => TRUE,
    'ec_review_comment' => TRUE,
    'wpp_cc_txn_type' => 'Sale',
  ];
}