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