浏览代码

fix stripe not active

Tokumeikoi 5 年之前
父节点
当前提交
4240e8355a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/Http/Controllers/User/OrderController.php

+ 2 - 2
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, '货币转换超时,请稍后再试');