You are here

public function Mollie::getNotifyUrl in Commerce Mollie 8

Gets the URL to the "notify" page.

When supported, this page is called asynchronously to notify the site of payment changes (new payment or capture/void/refund of an existing one).

Return value

\Drupal\Core\Url The "notify" page url.

Overrides OffsitePaymentGatewayBase::getNotifyUrl

File

src/Plugin/Commerce/PaymentGateway/Mollie.php, line 283

Class

Mollie
Provides the Mollie payment gateway.

Namespace

Drupal\commerce_mollie\Plugin\Commerce\PaymentGateway

Code

public function getNotifyUrl() {
  return Url::fromRoute('commerce_payment.notify', [
    'commerce_payment_gateway' => $this->entityId,
  ], [
    'absolute' => TRUE,
    'base_url' => $this->configuration['callback_domain'],
  ]);
}