fix bug of pargar
This commit is contained in:
@@ -195,6 +195,21 @@ class FinanceController extends Controller
|
||||
'active' => true
|
||||
], 3, false, true);
|
||||
|
||||
try {
|
||||
app(\App\Services\PargarSyncService::class)->queueWalletDocument(
|
||||
$User,
|
||||
'cash',
|
||||
(float) ($decodedResponse['data']['amount'] * 10),
|
||||
[
|
||||
'withdraw_id' => (int) $_GET['clientrefid'],
|
||||
'note' => 'واریز درگاه',
|
||||
'source' => 'gateway',
|
||||
]
|
||||
);
|
||||
} catch (\Throwable $e) {
|
||||
report($e);
|
||||
}
|
||||
|
||||
//----------sms
|
||||
// User information
|
||||
$userMobile = $Withdraw->customer->mobile; // User's mobile number
|
||||
|
||||
Reference in New Issue
Block a user