Update
parent
13058f86c1
commit
336153fd9d
|
|
@ -234,7 +234,7 @@ class OrderService
|
||||||
$coupon?->markAsUse();
|
$coupon?->markAsUse();
|
||||||
|
|
||||||
if ($order->total_amount === 0) {
|
if ($order->total_amount === 0) {
|
||||||
$this->pay($order, PayWay::Balance);
|
$this->pay($order, PayWay::None);
|
||||||
|
|
||||||
$order->refresh();
|
$order->refresh();
|
||||||
}
|
}
|
||||||
|
|
@ -329,7 +329,7 @@ class OrderService
|
||||||
$coupon?->markAsUse();
|
$coupon?->markAsUse();
|
||||||
|
|
||||||
if ($order->total_amount === 0) {
|
if ($order->total_amount === 0) {
|
||||||
$this->pay($order, PayWay::Balance);
|
$this->pay($order, PayWay::None);
|
||||||
|
|
||||||
$order->refresh();
|
$order->refresh();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue