public function TwoCheckout::defaultConfiguration in Ubercart 8.4
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides PaymentMethodPluginBase::defaultConfiguration
File
- payment/
uc_2checkout/ src/ Plugin/ Ubercart/ PaymentMethod/ TwoCheckout.php, line 44
Class
- TwoCheckout
- Defines the 2Checkout payment method.
Namespace
Drupal\uc_2checkout\Plugin\Ubercart\PaymentMethodCode
public function defaultConfiguration() {
return [
'check' => FALSE,
'checkout_type' => 'dynamic',
'currency_code' => '',
'demo' => TRUE,
'language' => 'en',
'notification_url' => '',
'secret_word' => 'tango',
'sid' => '',
];
}