You are here

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

Class

PayPalPaymentsStandard
Defines the PayPal Payments Standard payment method.

Namespace

Drupal\uc_paypal\Plugin\Ubercart\PaymentMethod

Code

public function defaultConfiguration() {
  return [
    'wps_email' => '',
    'wps_language' => 'US',
    'wps_server' => 'https://www.sandbox.paypal.com/cgi-bin/webscr',
    'wps_payment_action' => 'Sale',
    'wps_submit_method' => 'single',
    'wps_no_shipping' => '1',
    'wps_address_override' => TRUE,
    'wps_address_selection' => 'billing',
    'wps_debug_ipn' => FALSE,
  ];
}