Skip to content

Commit

Permalink
Fix checkSignature for custom user params.
Browse files Browse the repository at this point in the history
  • Loading branch information
gonimar committed Apr 5, 2014
1 parent 1881a13 commit b3d6918
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Merchant.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ public function payment($nOutSum, $nInvId, $sInvDesc = null, $sIncCurrLabel=null
private function implodeShp($shp)
{
ksort($shp);
foreach($shp as $key => $value) {
$shp[$key] = $key . '=' . $value;
}

return implode(':', $shp);
}

Expand Down

0 comments on commit b3d6918

Please sign in to comment.