Browse Source

[Boutique] Correctif paiement en ligne

feature/souke
Guillaume Bourgeois 10 months ago
parent
commit
97b9bca82f
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      producer/controllers/OrderController.php

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

$orderModule = $this->getOrderModule(); $orderModule = $this->getOrderModule();
$producerModule = $this->getProducerModule(); $producerModule = $this->getProducerModule();
$userModule = $this->getUserModule(); $userModule = $this->getUserModule();
$productOrderModule = $this->getProductOrderModule();


$producer = $this->getProducerCurrent(); $producer = $this->getProducerCurrent();
$redirect = null; $redirect = null;
true true
) . ')', ) . ')',
], ],
'unit_amount' => $productOrder->price * 100 * $productOrder->quantity,
'unit_amount' => intval($productOrderModule->getSolver()->getPriceWithTax($productOrder) * 100 * $productOrder->quantity),
], ],
'quantity' => 1, 'quantity' => 1,
]; ];

Loading…
Cancel
Save