Conditions | 3 |
Paths | 2 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
32 | public function sandboxCredentials() |
||
33 | { |
||
34 | $request = Request::createFromGlobals(); |
||
35 | $clientId = $request->request->get('client_id', null); |
||
36 | $clientSecret = $request->request->get('client_secret', null); |
||
37 | if ($clientId && $clientSecret) { |
||
38 | $this->sessionService->updateCredentials($clientId, $clientSecret); |
||
39 | } |
||
40 | return $this->redirectToRoute('paypal-index'); |
||
41 | } |
||
42 | } |
||
43 |