You are here

public function PayflowLinkInterface::createSecureToken in Commerce PayPal 8

Requests a secure token from Payflow for use in follow-up API requests.

Parameters

\Drupal\commerce_order\Entity\OrderInterface $order: The order whose details should be submitted in the secure token request.

Return value

string|null The secure Token if successfully retrieved, NULL on failure.

Throws

\Drupal\Core\TypedData\Exception\MissingDataException

1 method overrides PayflowLinkInterface::createSecureToken()
PayflowLink::createSecureToken in src/Plugin/Commerce/PaymentGateway/PayflowLink.php
Requests a secure token from Payflow for use in follow-up API requests.

File

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

Class

PayflowLinkInterface
Provides the interface for the PayflowLink payment gateway.

Namespace

Drupal\commerce_paypal\Plugin\Commerce\PaymentGateway

Code

public function createSecureToken(OrderInterface $order);