/
Welcome Guest!

‘100.25’,
‘in_curr’ => ‘EUR’,
‘payway’ => ‘card’,
‘merchant’ => ‘1596’,
‘merchant_payfee’ => ‘0’,
‘client_email’ => ‘contact@theperfecthosting.com’,
‘externalid’ => uniqid(),
‘redirect_url’ => ”,
‘callbcak_url’ => ”

];

$res[‘sign’] = sign_form_data(‘SCI key’, $res);

function sign_form_data($key, $data) {
ksort($data);
$s = ”;
foreach($data as $k=>$value) {
if (in_array(gettype($value), array(‘array’, ‘object’, ‘NULL’)) ){
continue;
}
if(is_bool($value)){
$s .= $value ? “true” : “false”;
} else {
$s .= $value;
}
}
return hash_hmac(‘sha512’, strtolower($s), $key);
}
?>

$v): ?>

Copyright © 2018 BEST-WEB-SERVICES LTD. All rights reserved.