You are here

public function PayflowLinkInterface::getRedirectUrl in Commerce PayPal 8

Gets the redirect url.

Parameters

\Drupal\commerce_order\Entity\OrderInterface|null $order: (Optional) The order.

Return value

string The URL according selected 'mode' and 'redirect_method' settings.

1 method overrides PayflowLinkInterface::getRedirectUrl()
PayflowLink::getRedirectUrl in src/Plugin/Commerce/PaymentGateway/PayflowLink.php
Gets the redirect url.

File

src/Plugin/Commerce/PaymentGateway/PayflowLinkInterface.php, line 39

Class

PayflowLinkInterface
Provides the interface for the PayflowLink payment gateway.

Namespace

Drupal\commerce_paypal\Plugin\Commerce\PaymentGateway

Code

public function getRedirectUrl(OrderInterface $order = NULL);