Merge remote-tracking branch 'origin/montify' into Abshode_Khanegi

This commit is contained in:
2026-08-01 15:52:17 +03:30
17 changed files with 2415 additions and 14 deletions
+14
View File
@@ -10,6 +10,7 @@ use Illuminate\Support\Facades\Route;
use App\Http\Controllers\Single\BankAccountController;
use \App\Http\Controllers\Customer\FundController;
use \App\Http\Controllers\pay\paypingController;
use App\Http\Controllers\pay\WalletPaymentController;
use \App\Http\Controllers\Single\SingleOrderController;
use App\Http\Controllers\Admin\ProductController as AdminProductController;
use App\Http\Controllers\Customer\ProductController;
@@ -28,6 +29,13 @@ Route::get('/TCharchee ', [paypingController::class, 'TCharchee']);
Route::post('/charge_account_verify', [paypingController::class, 'verifyTransation']);
Route::post('/charge_account_verify/{id}', [paypingController::class, 'verifyTransationByID']);
//----------wallet online payment — return/webhook per provider (public)
Route::get('/wallet/payment/return/{provider}', [WalletPaymentController::class, 'returnFromGateway']);
Route::post('/wallet/payment/webhook/{provider}', [WalletPaymentController::class, 'webhook']);
// سازگاری با URLهای قبلی Montify
Route::get('/wallet/external-payment/return', [WalletPaymentController::class, 'returnLegacy']);
Route::post('/wallet/external-payment/webhook', [WalletPaymentController::class, 'webhookLegacy']);
$isStore = app(ConfigService::class)->isStore();
Route::middleware('validation')->group(function () {
@@ -75,6 +83,12 @@ Route::middleware(['auth:customer', 'customer.active'])->group(function () use (
//-----gateway
Route::post('/charge_account ', [paypingController::class, 'startTransation']);
Route::get('/wallet/payment/options', [WalletPaymentController::class, 'options']);
Route::post('/wallet/payment/initiate', [WalletPaymentController::class, 'initiate']);
Route::post('/wallet/payment/verify-return', [WalletPaymentController::class, 'verifyReturn']);
Route::get('/wallet/payment/status', [WalletPaymentController::class, 'status']);
// سازگاری قدیمی
Route::post('/wallet/external-payment/initiate', [WalletPaymentController::class, 'initiate']);
//--------------Customer