You are here

function commerce_sermepa_set_charge_expiry_date in Commerce sermepa 7

Action: Set the Sermepa gateway Ds_Merchant_ChargeExpiryDate parameter.

Parameters

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

sring $value: The Ds_Merchant_ChargeExpiryDate value to being setted.

File

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

Code

function commerce_sermepa_set_charge_expiry_date($gateway, $value) {
  $gateway
    ->setChargeExpiryDate($value);
}