public function PayPalExpress::getDerivativeConfiguration in PayPal for Payment 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/Payment/MethodConfiguration/PayPalExpress.php \Drupal\paypal_payment\Plugin\Payment\MethodConfiguration\PayPalExpress::getDerivativeConfiguration()
Return value
array
Overrides PayPalBasic::getDerivativeConfiguration
File
- src/
Plugin/ Payment/ MethodConfiguration/ PayPalExpress.php, line 140
Class
- PayPalExpress
- Provides the configuration for the PayPal Express payment method plugin.
Namespace
Drupal\paypal_payment\Plugin\Payment\MethodConfigurationCode
public function getDerivativeConfiguration() : array {
return parent::getDerivativeConfiguration() + [
'clientId' => $this
->getClientId(),
'clientSecret' => $this
->getClientSecret(),
'webhookId' => $this
->getWebhookId(),
];
}