wip
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user