mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
fix stripe not active
This commit is contained in:
parent
7770bf6b99
commit
4240e8355a
@ -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, '货币转换超时,请稍后再试');
|
||||
|
Loading…
Reference in New Issue
Block a user