You are here

function commerce_sermepa_set_merchant_password in Commerce sermepa 7

Action: Set the Sermepa gateway SHA256 merchant password parameter.

Parameters

\CommerceRedsys\Payment\Sermepa $gateway: The Sermepa gateway instance.

string $value: The SHA256 merchant password value to being setted.

File

./commerce_sermepa.rules.inc, line 511
Rules integration for the commerce sermepa module.

Code

function commerce_sermepa_set_merchant_password($gateway, $value) {
  $gateway
    ->setMerchantPassword($value);
}