From 8a283fcd91e814776fba0ab99cff5b1c9675a84f Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 2 Aug 2023 16:21:08 +0800 Subject: [PATCH] 1 --- webapp/controller/ShopController.class.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index ec10ea65..be404cb7 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -211,9 +211,18 @@ class ShopController extends BaseAuthedController { return; } + $fiatAmount = $goodsMeta['price']; $orderId = OrderId::gen(); $params = array( -network, crypto, address, fiat, fiatAmount, payWayCode, country, accountId, orderId + $network, + $crypto, + $address, + $fiat, + $fiatAmount, + $payWayCode, + $country, + myself()->_getAccountId(), + $orderId ); }