src/Controller/Hyperwallet/UsersController.php 1 location
|
@@ 44-53 (lines=10) @@
|
| 41 |
|
* |
| 42 |
|
* @return Response |
| 43 |
|
*/ |
| 44 |
|
public function createUserPost(): Response |
| 45 |
|
{ |
| 46 |
|
$request = Request::createFromGlobals(); |
| 47 |
|
$userData = $request->request->all(); |
| 48 |
|
$user = $this->hyperwalletService->getUserService()->create($userData); |
| 49 |
|
return $this->render('default/dump.html.twig', [ |
| 50 |
|
'raw_result' => false, |
| 51 |
|
'result' => $user, |
| 52 |
|
]); |
| 53 |
|
} |
| 54 |
|
|
| 55 |
|
/** |
| 56 |
|
* @Route("/search", name="search", methods={"GET"}) |
src/Controller/Paypal/AdyenController.php 1 location
|
@@ 74-84 (lines=11) @@
|
| 71 |
|
* @return Response |
| 72 |
|
* @throws AdyenException |
| 73 |
|
*/ |
| 74 |
|
public function paymentDetails() |
| 75 |
|
{ |
| 76 |
|
$request = Request::createFromGlobals(); |
| 77 |
|
$paymentData = $request->request->all(); |
| 78 |
|
$paymentDetails = $this->adyenService->paymentDetails($paymentData); |
| 79 |
|
|
| 80 |
|
return $this->render('default/dump.html.twig', [ |
| 81 |
|
'result' => $paymentDetails, |
| 82 |
|
'raw_result' => false, |
| 83 |
|
]); |
| 84 |
|
} |
| 85 |
|
} |
| 86 |
|
|