mirror of
https://github.com/v2board/v2board.git
synced 2024-11-13 11:09: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)
|
private function stripeAlipay($order)
|
||||||
{
|
{
|
||||||
$currency = config('stripe_currency', 'hkd');
|
$currency = config('v2board.stripe_currency', 'hkd');
|
||||||
$exchange = Helper::exchange('CNY', strtoupper($currency));
|
$exchange = Helper::exchange('CNY', strtoupper($currency));
|
||||||
if (!$exchange) {
|
if (!$exchange) {
|
||||||
abort(500, '货币转换超时,请稍后再试');
|
abort(500, '货币转换超时,请稍后再试');
|
||||||
@ -463,7 +463,7 @@ class OrderController extends Controller
|
|||||||
|
|
||||||
private function stripeWepay($order)
|
private function stripeWepay($order)
|
||||||
{
|
{
|
||||||
$currency = config('stripe_currency', 'hkd');
|
$currency = config('v2board.stripe_currency', 'hkd');
|
||||||
$exchange = Helper::exchange('CNY', strtoupper($currency));
|
$exchange = Helper::exchange('CNY', strtoupper($currency));
|
||||||
if (!$exchange) {
|
if (!$exchange) {
|
||||||
abort(500, '货币转换超时,请稍后再试');
|
abort(500, '货币转换超时,请稍后再试');
|
||||||
|
Loading…
Reference in New Issue
Block a user