瀏覽代碼

[Boutique] Correctif paiement en ligne

feature/souke
Guillaume Bourgeois 10 月之前
父節點
當前提交
97b9bca82f
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      producer/controllers/OrderController.php

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

@@ -158,6 +158,7 @@ class OrderController extends ProducerBaseController
$orderModule = $this->getOrderModule();
$producerModule = $this->getProducerModule();
$userModule = $this->getUserModule();
$productOrderModule = $this->getProductOrderModule();

$producer = $this->getProducerCurrent();
$redirect = null;
@@ -259,7 +260,7 @@ class OrderController extends ProducerBaseController
true
) . ')',
],
'unit_amount' => $productOrder->price * 100 * $productOrder->quantity,
'unit_amount' => intval($productOrderModule->getSolver()->getPriceWithTax($productOrder) * 100 * $productOrder->quantity),
],
'quantity' => 1,
];

Loading…
取消
儲存