public function AuthorizeNet::defaultConfiguration in Ubercart 8.4
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides CreditCardPaymentMethodBase::defaultConfiguration
File
- payment/
uc_authorizenet/ src/ Plugin/ Ubercart/ PaymentMethod/ AuthorizeNet.php, line 23
Class
- AuthorizeNet
- Defines the Authorize.net payment method.
Namespace
Drupal\uc_authorizenet\Plugin\Ubercart\PaymentMethodCode
public function defaultConfiguration() {
return parent::defaultConfiguration() + [
'duplicate_window' => 120,
'api' => [
'login_id' => '',
'transaction_key' => '',
'test_gateway_url' => UC_AUTHORIZENET_TEST_GATEWAY_URL,
'live_gateway_url' => UC_AUTHORIZENET_LIVE_GATEWAY_URL,
],
'aim' => [
'txn_mode' => 'live_test',
'email_customer' => FALSE,
'response_debug' => FALSE,
],
'arb' => [
'arb_mode' => 'disabled',
'md5_hash' => '',
'report_arb_post' => FALSE,
],
'cim' => [
'cim_profile' => FALSE,
'cim_mode' => 'disabled',
],
];
}