mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	fix stripe not active
This commit is contained in:
		| @@ -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, '货币转换超时,请稍后再试'); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user