From 4240e8355a9514c497dbd867cc828dc46a122986 Mon Sep 17 00:00:00 2001 From: Tokumeikoi Date: Sun, 5 Apr 2020 15:17:34 +0800 Subject: [PATCH] fix stripe not active --- app/Http/Controllers/User/OrderController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/User/OrderController.php b/app/Http/Controllers/User/OrderController.php index 6996589f..c182fd21 100755 --- a/app/Http/Controllers/User/OrderController.php +++ b/app/Http/Controllers/User/OrderController.php @@ -431,7 +431,7 @@ class OrderController extends Controller private function stripeAlipay($order) { - $currency = config('stripe_currency', 'hkd'); + $currency = config('v2board.stripe_currency', 'hkd'); $exchange = Helper::exchange('CNY', strtoupper($currency)); if (!$exchange) { abort(500, '货币转换超时,请稍后再试'); @@ -463,7 +463,7 @@ class OrderController extends Controller private function stripeWepay($order) { - $currency = config('stripe_currency', 'hkd'); + $currency = config('v2board.stripe_currency', 'hkd'); $exchange = Helper::exchange('CNY', strtoupper($currency)); if (!$exchange) { abort(500, '货币转换超时,请稍后再试');