You are here

public function PayPalExpress::getWebhookId in PayPal for Payment 8

Same name in this branch
  1. 8 src/Plugin/Payment/MethodConfiguration/PayPalExpress.php \Drupal\paypal_payment\Plugin\Payment\MethodConfiguration\PayPalExpress::getWebhookId()
  2. 8 src/Plugin/Payment/Method/PayPalExpress.php \Drupal\paypal_payment\Plugin\Payment\Method\PayPalExpress::getWebhookId()
Same name and namespace in other branches
  1. 2.0.x src/Plugin/Payment/Method/PayPalExpress.php \Drupal\paypal_payment\Plugin\Payment\Method\PayPalExpress::getWebhookId()

Return value

string

Overrides PayPalBasic::getWebhookId

File

src/Plugin/Payment/Method/PayPalExpress.php, line 34

Class

PayPalExpress
PayPal Express payment method.

Namespace

Drupal\paypal_payment\Plugin\Payment\Method

Code

public function getWebhookId() : string {
  $configuration = $this
    ->getPluginDefinition();
  return $configuration['webhookId'];
}