Pārlūkot izejas kodu

Merge branch 'dev'

master
Guillaume pirms 3 gadiem
vecāks
revīzija
35a2738923
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. +2
    -1
      producer/controllers/OrderController.php

+ 2
- 1
producer/controllers/OrderController.php Parādīt failu

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

if ($producer->online_payment && $producer->option_online_payment_type == 'order') {
if (($producer->online_payment || ($producer->option_stripe_mode_test && $user->status > 10)
&& $producer->option_online_payment_type == 'order') {
$order = Order::searchOne([
'id' => $order->id
]);

Notiek ielāde…
Atcelt
Saglabāt