| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | public function index(): Response |
||
| 25 | { |
||
| 26 | $request = Request::createFromGlobals(); |
||
| 27 | $paymentNonce = $request->request->get('payment_nonce'); |
||
| 28 | $deviceData = $request->request->get('device_data'); |
||
| 29 | |||
| 30 | $forwardApiResponse = $this->braintreeService->getForwardApiService()->directTokenization( |
||
| 31 | $paymentNonce, |
||
| 32 | $deviceData |
||
| 33 | ); |
||
| 34 | |||
| 35 | return $this->render('default/dump.html.twig', [ |
||
| 36 | 'result' => $forwardApiResponse, |
||
| 37 | 'raw_result' => false, |
||
| 38 | ]); |
||
| 41 |