瀏覽代碼

Correctif

dev
Guillaume 3 年之前
父節點
當前提交
703acb2ce9
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. +2
    -1
      producer/controllers/OrderController.php

+ 2
- 1
producer/controllers/OrderController.php 查看文件

@@ -258,8 +258,9 @@ class OrderController extends ProducerBaseController
return ['status' => 'error', 'errors' => $errors];
}

if (($producer->online_payment || ($producer->option_stripe_mode_test && $user->status > 10)
if (($producer->online_payment || ($producer->option_stripe_mode_test && $user->status > 10))
&& $producer->option_online_payment_type == 'order') {

$order = Order::searchOne([
'id' => $order->id
]);

Loading…
取消
儲存