public function PayPalExpress::getWebhookUrl in PayPal for Payment 8
Same name and namespace in other branches
- 2.0.x src/Plugin/Payment/Method/PayPalExpress.php \Drupal\paypal_payment\Plugin\Payment\Method\PayPalExpress::getWebhookUrl()
Return value
string
Overrides PayPalBasic::getWebhookUrl
File
- src/
Plugin/ Payment/ Method/ PayPalExpress.php, line 25
Class
- PayPalExpress
- PayPal Express payment method.
Namespace
Drupal\paypal_payment\Plugin\Payment\MethodCode
public function getWebhookUrl() : string {
$configuration = $this
->getPluginDefinition();
list(, $id) = explode(':', $configuration['id']);
return self::webhookUrl($id);
}