2018-10-04 19:10:43 +02:00
|
|
|
<?php
|
2020-06-27 15:53:12 +02:00
|
|
|
|
2022-07-17 12:56:17 +02:00
|
|
|
use App\Http\Controllers\Auth\ForgotPasswordController;
|
|
|
|
use App\Http\Controllers\Auth\LoginController;
|
|
|
|
use App\Http\Controllers\Auth\ResetPasswordController;
|
2023-12-09 15:13:00 +01:00
|
|
|
use App\Http\Controllers\Bank\NordigenController;
|
2022-07-28 06:09:13 +02:00
|
|
|
use App\Http\Controllers\Bank\YodleeController;
|
2022-06-21 11:59:51 +02:00
|
|
|
use App\Http\Controllers\BaseController;
|
2022-07-17 12:56:17 +02:00
|
|
|
use App\Http\Controllers\ClientPortal\ApplePayDomainController;
|
|
|
|
use App\Http\Controllers\Gateways\Checkout3dsController;
|
|
|
|
use App\Http\Controllers\Gateways\GoCardlessController;
|
|
|
|
use App\Http\Controllers\Gateways\Mollie3dsController;
|
2022-06-21 11:59:51 +02:00
|
|
|
use App\Http\Controllers\SetupController;
|
|
|
|
use App\Http\Controllers\StripeConnectController;
|
|
|
|
use App\Http\Controllers\UserController;
|
2020-06-27 15:53:12 +02:00
|
|
|
use Illuminate\Support\Facades\Route;
|
2018-10-21 00:26:21 +02:00
|
|
|
|
2022-06-21 11:59:51 +02:00
|
|
|
Route::get('/', [BaseController::class, 'flutterRoute'])->middleware('guest');
|
2021-04-09 03:22:11 +02:00
|
|
|
|
2022-06-21 11:59:51 +02:00
|
|
|
Route::get('setup', [SetupController::class, 'index'])->middleware('guest');
|
|
|
|
Route::post('setup', [SetupController::class, 'doSetup'])->middleware('guest');
|
|
|
|
Route::get('update', [SetupController::class, 'update'])->middleware('guest');
|
2020-07-02 13:58:39 +02:00
|
|
|
|
2022-06-21 11:59:51 +02:00
|
|
|
Route::post('setup/check_db', [SetupController::class, 'checkDB'])->middleware('guest');
|
|
|
|
Route::post('setup/check_mail', [SetupController::class, 'checkMail'])->middleware('guest');
|
|
|
|
Route::post('setup/check_pdf', [SetupController::class, 'checkPdf'])->middleware('guest');
|
2019-04-04 00:40:56 +02:00
|
|
|
|
2022-07-17 12:56:17 +02:00
|
|
|
Route::get('password/reset', [ForgotPasswordController::class, 'showLinkRequestForm'])->middleware('domain_db')->name('password.request');
|
|
|
|
Route::post('password/email', [ForgotPasswordController::class, 'sendResetLinkEmail'])->name('password.email');
|
|
|
|
Route::get('password/reset/{token}', [ResetPasswordController::class, 'showResetForm'])->middleware(['domain_db', 'email_db'])->name('password.reset');
|
|
|
|
Route::post('password/reset', [ResetPasswordController::class, 'reset'])->middleware('email_db')->name('password.update');
|
2018-10-21 00:26:21 +02:00
|
|
|
|
2022-07-17 12:56:17 +02:00
|
|
|
Route::get('auth/{provider}', [LoginController::class, 'redirectToProvider']);
|
2018-10-21 00:26:21 +02:00
|
|
|
|
2022-06-21 11:59:43 +02:00
|
|
|
Route::middleware('url_db')->group(function () {
|
2022-06-21 11:59:51 +02:00
|
|
|
Route::get('/user/confirm/{confirmation_code}', [UserController::class, 'confirm']);
|
|
|
|
Route::post('/user/confirm/{confirmation_code}', [UserController::class, 'confirmWithPassword']);
|
2020-09-06 11:38:10 +02:00
|
|
|
});
|
2021-05-10 03:03:17 +02:00
|
|
|
|
2022-06-21 11:59:51 +02:00
|
|
|
Route::get('stripe/signup/{token}', [StripeConnectController::class, 'initialize'])->name('stripe_connect.initialization');
|
|
|
|
Route::get('stripe/completed', [StripeConnectController::class, 'completed'])->name('stripe_connect.return');
|
2021-05-31 16:23:18 +02:00
|
|
|
|
2022-07-28 06:09:13 +02:00
|
|
|
Route::get('yodlee/onboard/{token}', [YodleeController::class, 'auth'])->name('yodlee.auth');
|
2023-12-10 08:23:53 +01:00
|
|
|
|
2023-12-09 15:13:00 +01:00
|
|
|
Route::get('nordigen/connect/{token}', [NordigenController::class, 'connect'])->name('nordigen.connect');
|
2023-12-13 16:57:51 +01:00
|
|
|
Route::any('nordigen/confirm', [NordigenController::class, 'confirm'])->name('nordigen.confirm');
|
2022-07-28 06:09:13 +02:00
|
|
|
|
2022-07-17 12:56:17 +02:00
|
|
|
Route::get('checkout/3ds_redirect/{company_key}/{company_gateway_id}/{hash}', [Checkout3dsController::class, 'index'])->middleware('domain_db')->name('checkout.3ds_redirect');
|
|
|
|
Route::get('mollie/3ds_redirect/{company_key}/{company_gateway_id}/{hash}', [Mollie3dsController::class, 'index'])->middleware('domain_db')->name('mollie.3ds_redirect');
|
|
|
|
Route::get('gocardless/ibp_redirect/{company_key}/{company_gateway_id}/{hash}', [GoCardlessController::class, 'ibpRedirect'])->middleware('domain_db')->name('gocardless.ibp_redirect');
|
2023-12-09 15:13:00 +01:00
|
|
|
Route::get('.well-known/apple-developer-merchantid-domain-association', [ApplePayDomainController::class, 'showAppleMerchantId']);
|