2021-05-31 16:23:18 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Invoice Ninja (https://invoiceninja.com).
|
|
|
|
*
|
|
|
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
|
|
|
*
|
|
|
|
* @copyright Copyright (c) 2021. Invoice Ninja LLC (https://invoiceninja.com)
|
|
|
|
*
|
|
|
|
* @license https://opensource.org/licenses/AAL
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace App\Http\Controllers\Gateways;
|
|
|
|
|
|
|
|
use App\Http\Controllers\Controller;
|
2021-05-31 16:37:46 +02:00
|
|
|
use App\Http\Requests\Gateways\Checkout3ds\Checkout3dsRequest;
|
2021-05-31 16:23:18 +02:00
|
|
|
|
|
|
|
class Checkout3dsController extends Controller
|
|
|
|
{
|
2021-05-31 16:37:46 +02:00
|
|
|
public function index(Checkout3dsRequest $request, string $company_key, string $company_gateway_id, string $hash)
|
2021-05-31 16:23:18 +02:00
|
|
|
{
|
2021-05-31 16:37:46 +02:00
|
|
|
return $request->getCompanyGateway()
|
|
|
|
->driver($request->getClient())
|
|
|
|
->process3dsConfirmation($request);
|
2021-05-31 16:23:18 +02:00
|
|
|
}
|
|
|
|
}
|