feat: enhance FastRequest functionality with shift scheduling and improve payment callback handling

This commit is contained in:
2026-09-21 04:45:57 +03:30
parent 5f19f82f86
commit 45da0103c0
11 changed files with 74 additions and 15 deletions
@@ -17,6 +17,7 @@ use App\Services\Payment\ZibalPaymentService;
use App\Services\Wallet\WalletService;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
class PaymentController extends Controller
{
@@ -68,7 +69,7 @@ class PaymentController extends Controller
}
if ($wasPending && $payment->status === PaymentStatusEnum::Paid) {
$this->settle($payment);
DB::transaction(fn () => $this->settle($payment));
}
session()->flash('payment_result', [