Store
'http:///new_success_url',
//'fail_url' => 'http:///new_fail_url',
//'status_url' => 'http:///new_status_url',
'reference' => array(
'var1' => '1',
//'var2' => '2',
//'var3' => '3',
//'var4' => '4',
//'var5' => '5',
),
//'submerchant' => 'mail.com',
);
$key = md5(''.$m_orderid);
$m_params = @urlencode(base64_encode(openssl_encrypt(json_encode($arParams), 'AES-256-CBC', $key, OPENSSL_RAW_DATA)));
$arHash[] = $m_params;
*/
$arHash[] = $m_key;
$sign = strtoupper(hash('sha256', implode(':', $arHash)));
?>
Comments
Post a Comment