You are here

public function CreditCardPaymentMethodBase::defaultConfiguration in Ubercart 8.4

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides PaymentMethodPluginBase::defaultConfiguration

3 calls to CreditCardPaymentMethodBase::defaultConfiguration()
AuthorizeNet::defaultConfiguration in payment/uc_authorizenet/src/Plugin/Ubercart/PaymentMethod/AuthorizeNet.php
Gets default configuration for this plugin.
PayPalWebsitePaymentsPro::defaultConfiguration in payment/uc_paypal/src/Plugin/Ubercart/PaymentMethod/PayPalWebsitePaymentsPro.php
Gets default configuration for this plugin.
TestGateway::defaultConfiguration in payment/uc_credit/src/Plugin/Ubercart/PaymentMethod/TestGateway.php
Gets default configuration for this plugin.
3 methods override CreditCardPaymentMethodBase::defaultConfiguration()
AuthorizeNet::defaultConfiguration in payment/uc_authorizenet/src/Plugin/Ubercart/PaymentMethod/AuthorizeNet.php
Gets default configuration for this plugin.
PayPalWebsitePaymentsPro::defaultConfiguration in payment/uc_paypal/src/Plugin/Ubercart/PaymentMethod/PayPalWebsitePaymentsPro.php
Gets default configuration for this plugin.
TestGateway::defaultConfiguration in payment/uc_credit/src/Plugin/Ubercart/PaymentMethod/TestGateway.php
Gets default configuration for this plugin.

File

payment/uc_credit/src/CreditCardPaymentMethodBase.php, line 87

Class

CreditCardPaymentMethodBase
Defines a base credit card payment method plugin implementation.

Namespace

Drupal\uc_credit

Code

public function defaultConfiguration() {
  return [
    'txn_type' => UC_CREDIT_AUTH_CAPTURE,
  ];
}