This commit is contained in:
nurmuhammet committed 2024-11-23 11:40:54 +05:00
1 parent 134fb8507e
commit 9609136523
1 file changed
+4
@@ -55,6 +55,10 @@ public function handle(ActionFields $fields, Collection $models)
$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') {