public function StripeGateway::defaultConfiguration in Ubercart Stripe 8.3
Same name and namespace in other branches
- 8.2 src/Plugin/Ubercart/PaymentMethod/StripeGateway.php \Drupal\uc_stripe\Plugin\Ubercart\PaymentMethod\StripeGateway::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides CreditCardPaymentMethodBase::defaultConfiguration
File
- src/
Plugin/ Ubercart/ PaymentMethod/ StripeGateway.php, line 24
Class
- StripeGateway
- Stripe Ubercart gateway payment method.
Namespace
Drupal\uc_stripe\Plugin\Ubercart\PaymentMethodCode
public function defaultConfiguration() {
return parent::defaultConfiguration() + [
'txn_type' => UC_CREDIT_AUTH_CAPTURE,
'test_secret_key' => '',
'test_publishable_key' => '',
'live_secret_key' => '',
'live_publishable_key' => '',
'testmode' => TRUE,
];
}