@@ -195,10 +195,10 @@ |
||
195 | 195 | public function token(): array |
196 | 196 | { |
197 | 197 | if(strpos($this->settings->callbackUrl, '?') !== false) { |
198 | - $query = '&' . http_build_query(['invoice' => $this->invoice->getUuid()]); |
|
199 | - } else { |
|
200 | - $query = '?' . http_build_query(['invoice' => $this->invoice->getUuid()]); |
|
201 | - } |
|
198 | + $query = '&' . http_build_query(['invoice' => $this->invoice->getUuid()]); |
|
199 | + } else { |
|
200 | + $query = '?' . http_build_query(['invoice' => $this->invoice->getUuid()]); |
|
201 | + } |
|
202 | 202 | |
203 | 203 | return $this->callApi('POST', self::TokenURL, [ |
204 | 204 | 'serviceTypeId' => 1, |