@@ -19,8 +19,7 @@ |
||
19 | 19 | if ($this->httpRequest->get('DATA')) { |
20 | 20 | $this->getNotifyParams(); |
21 | 21 | $type = 'notify'; |
22 | - } |
|
23 | - else { |
|
22 | + } else { |
|
24 | 23 | $this->getReturnParams(); |
25 | 24 | $type = 'return'; |
26 | 25 | } |
@@ -71,8 +71,7 @@ |
||
71 | 71 | $this->data['raw'] = $fetchResponse->getData(); |
72 | 72 | if ($fetchResponse->getData()['PayResult'] != 3) { // 交易成功為3; 交易失敗為0; |
73 | 73 | $this->status = static::STATUS_FAILED; |
74 | - } |
|
75 | - else { |
|
74 | + } else { |
|
76 | 75 | $this->status = static::STATUS_COMPLETED; |
77 | 76 | } |
78 | 77 |