April 14, 2014 at 09:41 /
As I mentioned earlier it gets attached, but only to generate the SHASIGN. Here’s the code and it’s exactly as the ogone documentation requires.
1 2 3 4 5 6 7 |
ksort($array, SORT_NATURAL | SORT_FLAG_CASE); $string = ""; foreach($array as $key => $value){ if(empty($value) && $value !== 0) continue; $string .= "$key=$value".$gateway_opt['shapass']; } $sha = sha1($string); |
As you see in line 5 the shapass get’s attached to every attribute.
Regards