@@ 50-61 (lines=12) @@ | ||
47 | return md5(implode(':', $params)); |
|
48 | } |
|
49 | ||
50 | public function getCustomFields() |
|
51 | { |
|
52 | $fields = array_filter([ |
|
53 | 'Shp_TransactionId' => $this->getTransactionId(), |
|
54 | 'Shp_Client' => $this->getClient(), |
|
55 | 'Shp_Currency' => $this->getCurrency(), |
|
56 | ]); |
|
57 | ||
58 | ksort($fields); |
|
59 | ||
60 | return $fields; |
|
61 | } |
|
62 | ||
63 | public function getSignatureValue() |
|
64 | { |
@@ 46-57 (lines=12) @@ | ||
43 | return md5(implode(':', $params)); |
|
44 | } |
|
45 | ||
46 | public function getCustomFields() |
|
47 | { |
|
48 | $fields = array_filter([ |
|
49 | 'Shp_TransactionId' => $this->getTransactionId(), |
|
50 | 'Shp_Client' => $this->getClient(), |
|
51 | 'Shp_Currency' => $this->getCurrency() |
|
52 | ]); |
|
53 | ||
54 | ksort($fields); |
|
55 | ||
56 | return $fields; |
|
57 | } |
|
58 | ||
59 | public function sendData($data) |
|
60 | { |