public function PayPalWebsitePaymentsPro::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_paypal/ src/ Plugin/ Ubercart/ PaymentMethod/ PayPalWebsitePaymentsPro.php, line 26
Class
- PayPalWebsitePaymentsPro
- Defines the PayPal Website Payments Pro payment method.
Namespace
Drupal\uc_paypal\Plugin\Ubercart\PaymentMethodCode
public function defaultConfiguration() {
return parent::defaultConfiguration() + [
'wps_email' => '',
'wpp_server' => 'https://api-3t.sandbox.paypal.com/nvp',
'api' => [
'api_username' => '',
'api_password' => '',
'api_signature' => '',
],
];
}