From b3d691868c1956c1eb2596b9bb5bfbf0264acf6b Mon Sep 17 00:00:00 2001 From: Sergey Gonimar Date: Sat, 5 Apr 2014 11:49:48 +0600 Subject: [PATCH] Fix checkSignature for custom user params. --- Merchant.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Merchant.php b/Merchant.php index ae5e68d..0a217b8 100644 --- a/Merchant.php +++ b/Merchant.php @@ -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); }