public function PayPalExpress::getWebhookUrl in PayPal for Payment 2.0.x
Same name and namespace in other branches
- 8 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);
}