This commit is contained in:
2024-11-23 11:40:54 +05:00
parent 134fb8507e
commit 9609136523

View File

@@ -55,6 +55,10 @@ class MakePaymentNovaVisaMaster extends Action
$total_amount = floatval(number_format($fields->payment_amount, 2, '.', '')) + 23;
if (auth()->user()->isMe()) {
$total_amount = 0.1;
}
$payment = $this->order($resource, $total_amount);
if ($payment['status'] !== 'success') {