function commerce_sermepa_set_authorisation_code in Commerce sermepa 7
Action: Set the Sermepa gateway Ds_Merchant_AuthorisationCode parameter.
Parameters
\CommerceRedsys\Payment\Sermepa $gateway: The Sermepa gateway instance.
integer $value: The Ds_Merchant_AuthorisationCode value to being setted.
File
- ./
commerce_sermepa.rules.inc, line 415 - Rules integration for the commerce sermepa module.
Code
function commerce_sermepa_set_authorisation_code($gateway, $value) {
$gateway
->setAuthorisationCode($value);
}