diff --git a/routes/api.php b/routes/api.php index 840818f0..bc9fa257 100644 --- a/routes/api.php +++ b/routes/api.php @@ -32,13 +32,10 @@ Route::post('/password/email', [ForgotPasswordController::class, 'sendResetLinkE // Route::get('/callback', [ApiController::class, 'feepayment']); Route::post('/feepayment', [ApiController::class, 'feepayment'])->name('feepayment'); -Route::get('/pembayaran/response', [ApiController::class, 'response'])->name('pay.paymentStatus'); -Route::get('/pembayaran/backend', [ApiController::class, 'callback'])->name('pay.callback'); + Route::post('/bidpayment', [ApiController::class, 'bidpayment'])->name('bidpayment'); -Route::get('/pembayaran/bidresponse', [ApiController::class, 'bidresponse'])->name('pay.bidpaymentStatus'); -Route::get('/pembayaran/bidbackend', [ApiController::class, 'bidbackend'])->name('pay.bidcallback'); //Protected routes Route::group(['middleware' => ['auth:sanctum']], function () { diff --git a/routes/web.php b/routes/web.php index 2dfb140b..3e980ad9 100644 --- a/routes/web.php +++ b/routes/web.php @@ -28,6 +28,13 @@ Auth::routes(); Route::get('/home','HomeController@index')->name('home'); Route::get('/about','HomeController@about')->name('about'); +Route::get('/pembayaran/response','ApiController@response')->name('pay.paymentStatus'); +Route::get('/pembayaran/backend','ApiController@callback')->name('pay.callback'); + + +Route::get('/pembayaran/bidresponse', 'ApiController@bidresponse')->name('pay.bidpaymentStatus'); +Route::get('/pembayaran/bidbackend', 'ApiController@bidbackend')->name('pay.bidcallback'); + //Pengurusan Pengguna