@@ -38,6 +38,6 @@ |
||
38 | 38 | */ |
39 | 39 | public function paymentUrl(): string |
40 | 40 | { |
41 | - return self::PAYMENT_PAGE . $this->paymentKey; |
|
41 | + return self::PAYMENT_PAGE.$this->paymentKey; |
|
42 | 42 | } |
43 | 43 | } |
@@ -69,11 +69,11 @@ discard block |
||
69 | 69 | 'cardType' => $cardType->getValue(), |
70 | 70 | 'description' => $description, |
71 | 71 | 'lang' => $lang ? $lang->getValue() : 'lv', |
72 | - 'hashCode' => md5($this->authKey . $this->merchantName . $cardType->getValue() . $amount . $description), |
|
72 | + 'hashCode' => md5($this->authKey.$this->merchantName.$cardType->getValue().$amount.$description), |
|
73 | 73 | ]); |
74 | 74 | |
75 | 75 | if ($result['status']['code'] !== 1) { |
76 | - throw new GoldenpayPaymentKeyException($result['status']['message'] . '. Code: ' . $result['status']['code']); |
|
76 | + throw new GoldenpayPaymentKeyException($result['status']['message'].'. Code: '.$result['status']['code']); |
|
77 | 77 | } |
78 | 78 | |
79 | 79 | return new PaymentKey( |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | |
97 | 97 | $result = $this->request('getPaymentResult', [ |
98 | 98 | 'payment_key' => $paymentKey, |
99 | - 'hash_code' => md5($this->authKey . $paymentKey), |
|
99 | + 'hash_code' => md5($this->authKey.$paymentKey), |
|
100 | 100 | ]); |
101 | 101 | |
102 | 102 | return new PaymentResult( |