You are here

protected function Sermepa::getLockName in Commerce sermepa 8.2

Returns the lock name.

Parameters

\Drupal\commerce_order\Entity\OrderInterface $order: The order.

Return value

string The built lock name.

2 calls to Sermepa::getLockName()
Sermepa::onReturn in src/Plugin/Commerce/PaymentGateway/Sermepa.php
Processes the "return" request.
Sermepa::processRequest in src/Plugin/Commerce/PaymentGateway/Sermepa.php
Processes the notification request.

File

src/Plugin/Commerce/PaymentGateway/Sermepa.php, line 521

Class

Sermepa
Provides the Sermepa/Redsýs payment gateway.

Namespace

Drupal\commerce_sermepa\Plugin\Commerce\PaymentGateway

Code

protected function getLockName(OrderInterface $order) {
  return 'commerce_sermepa_process_request_' . $order
    ->uuid();
}