Sfoglia il codice sorgente

Merge branch 'dev'

prodstable
Guillaume 3 anni fa
parent
commit
7a8125db6a
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +2
    -1
      producer/controllers/OrderController.php

+ 2
- 1
producer/controllers/OrderController.php Vedi File

@@ -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…
Annulla
Salva