| Conditions | 2 |
| Paths | 3 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | public function getAuthorizationUrl() |
||
| 16 | { |
||
| 17 | try { |
||
| 18 | $data = $this->performPostRequest($this->initializeUrl); |
||
| 19 | $this->redirectUrl = $data['body']['data']['paymentUrl']; |
||
| 20 | |||
| 21 | return $this; |
||
| 22 | } catch (Exception $exception) { |
||
| 23 | throw new Exception($exception->getMessage()); |
||
| 24 | } |
||
| 25 | } |
||
| 26 | |||
| 46 |