@@ -226,8 +226,7 @@ |
||
226 | 226 | if( $this->getTestMode( ) ) |
227 | 227 | { |
228 | 228 | $this->validate( 'testKey' ); |
229 | - } |
|
230 | - else |
|
229 | + } else |
|
231 | 230 | { |
232 | 231 | $this->validate( 'signKey' ); |
233 | 232 | } |
@@ -59,8 +59,7 @@ |
||
59 | 59 | if( !empty( $this->errorMessage ) ) |
60 | 60 | { |
61 | 61 | return false; |
62 | - } |
|
63 | - else |
|
62 | + } else |
|
64 | 63 | { |
65 | 64 | return $this->getTransactionStatus( ) === 'success'; |
66 | 65 | } |