Browse Source

Correctif

dev
Guillaume 3 years ago
parent
commit
703acb2ce9
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      producer/controllers/OrderController.php

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

return ['status' => 'error', 'errors' => $errors]; 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') { && $producer->option_online_payment_type == 'order') {

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

Loading…
Cancel
Save