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