fix dont HMAC request send to montify

This commit is contained in:
mahmood
2026-07-27 00:41:25 +03:30
parent 94a501078b
commit 14089fab55
2 changed files with 54 additions and 8 deletions
@@ -73,8 +73,13 @@ class WalletPaymentController extends Controller
$withdraw->sts = 3;
$withdraw->save();
\Log::warning('wallet.payment.initiate_failed', [
'withdraw_id' => $withdraw->id,
'message' => $e->getMessage(),
]);
return response()->json([
'message' => 'مشکل در ارتباط با درگاه',
'message' => $e->getMessage() ?: 'مشکل در ارتباط با درگاه',
], 422);
}