One Hat Cyber Team
Your IP :
3.145.78.12
Server IP :
103.133.214.160
Server :
Linux venus.ewebguru.net 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software :
Apache/2
PHP Version :
8.1.30
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
praval
/
public_html
/
active-ecommerce
/
routes
/
Edit File:
paytm.php
<?php //Paytm use App\Http\Controllers\Payment\PaytmController; use App\Http\Controllers\Payment\ToyyibpayController; use App\Http\Controllers\Payment\MyfatoorahController; use App\Http\Controllers\Payment\KhaltiController; use App\Http\Controllers\Payment\PhonepeController; Route::controller(PaytmController::class)->group(function () { Route::get('/paytm/index', 'pay'); Route::post('/paytm/callback', 'callback')->name('paytm.callback'); }); //Admin Route::group(['prefix' =>'admin', 'middleware' => ['auth', 'admin']], function(){ Route::controller(PaytmController::class)->group(function () { Route::get('/paytm_configuration', 'credentials_index')->name('paytm.index'); Route::post('/paytm_configuration_update', 'update_credentials')->name('paytm.update_credentials'); }); }); //Toyyibpay Route::controller(ToyyibpayController::class)->group(function () { Route::get('toyyibpay-status', 'paymentstatus')->name( 'toyyibpay-status'); Route::post('/toyyibpay-callback', 'callback')->name( 'toyyibpay-callback'); }); //Myfatoorah START Route::get('/myfatoorah/callback', [MyfatoorahController::class,'callback'])->name('myfatoorah.callback'); //Khalti START Route::any('/khalti/payment/done', [KhaltiController::class,'paymentDone'])->name('khalti.success'); // phonepe Route::controller(PhonepeController::class)->group(function () { Route::any('/phonepe/pay', 'pay')->name('phonepe.pay'); Route::any('/phonepe/redirecturl', 'phonepe_redirecturl')->name('phonepe.redirecturl'); Route::any('/phonepe/callbackUrl', 'phonepe_callbackUrl')->name('phonepe.callbackUrl'); });
Simpan